CS-Coursework/websites/Servers/index.css

170 lines
2.9 KiB
CSS
Raw Normal View History

2023-01-11 15:25:52 +00:00
:root {
2023-02-10 11:02:15 +00:00
--navbar: #333333;
/* Navbar Button Properties */
--navbar-button: #058ED9;
--navbar-button-hover: #283F3B;
--navbar-button-border: #058ED9;
/* */
--background: #1f1f1f;
/* Table Properties*/
2023-01-11 15:25:52 +00:00
--table: #FFD07B;
--table-top:#FDB833;
2023-02-10 11:02:15 +00:00
/* Title Properties */
--title-background: #333333;
--title-text: #ffffff;
/* General Properties */
2023-01-11 15:25:52 +00:00
--text: #000000;
--border: #000000;
}
body {
background: var(--background);
2023-02-10 11:02:15 +00:00
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
2023-01-11 15:25:52 +00:00
font-size: medium;
}
div {
display: block;
}
::-webkit-scrollbar {
display: none;
}
h1 {
2023-02-10 11:02:15 +00:00
color: var(--title-text);
2023-01-11 15:25:52 +00:00
text-align: center;
width: 100%;
margin: 0px;
}
#navbar {
2023-02-10 11:02:15 +00:00
padding: 20px 0 0 10px;
height: 96%;
width: 15%;
position: fixed;
display: block;
2023-01-11 15:25:52 +00:00
background: var(--navbar);
2023-02-10 11:02:15 +00:00
border-radius: 10px;
}
#navbar h2 {
color: white;
}
#systems {
display: flex;
flex-direction: column;
width: 95%;
}
#navbar #option-buttons {
display: flex;
flex-direction: column;
width: 95%;
}
#navbar #option-buttons button {
background-color: #32DE8A;
border-color: #32DE8A;
2023-01-11 15:25:52 +00:00
}
#navbar button {
2023-02-10 11:02:15 +00:00
transition-duration: 0.2s;
border-radius: 8px;
2023-01-11 15:25:52 +00:00
background-color: var(--navbar-button);
2023-02-10 11:02:15 +00:00
margin-bottom: 8px;
color: var(--text);
border: none;
padding: 10px;
2023-01-11 15:25:52 +00:00
font-size: larger;
}
2023-02-10 11:02:15 +00:00
#navbar button:hover, #navbar #option-buttons button:hover {
box-shadow:
0 12px 16px 0 rgba(0,0,0,0.24),
0 17px 50px 0 rgba(0,0,0,0.19);
transition-duration: 0.5s;
}
#navbar #allSystemsButton {
background-color: #4d23a8;
width: 97%;
padding: 36px;
color: #FFE3E3;
font-size: 35px;
}
#navbar #allSystemsButton:hover, #navbar #allSystemsButton:focus {
background-color: #3E1C87;
}
#navbar #option-buttons button:hover, #navbar #option-buttons button:focus {
background-color: #1DAF68;
2023-01-11 15:25:52 +00:00
}
2023-02-10 11:02:15 +00:00
2023-01-11 15:25:52 +00:00
#navbar button:hover {
2023-02-10 11:02:15 +00:00
background-color: #04699F;
2023-01-11 15:25:52 +00:00
}
2023-02-10 11:02:15 +00:00
#SystemName {
background: var(--title-background);
2023-01-11 15:25:52 +00:00
width: 100%;
2023-02-10 11:02:15 +00:00
font-family:
system-ui, -apple-system, BlinkMacSystemFont,
'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
'Open Sans', 'Helvetica Neue', sans-serif;
2023-01-11 15:25:52 +00:00
font-size: 50px;
padding-bottom: 20px;
2023-02-10 11:02:15 +00:00
width: 84%;
margin-left: 16%;
border-radius: 16px;
2023-01-11 15:25:52 +00:00
}
2023-02-10 11:02:15 +00:00
#tables {
display: block;
width: 84%;
margin-left: 15%;
padding: 10px 0 0 20px;
border: none;
2023-01-11 15:25:52 +00:00
}
table {
width: 100%;
2023-02-10 11:02:15 +00:00
border-collapse: collapse;
margin: 0px;
2023-01-11 15:25:52 +00:00
padding: 0px;
2023-02-10 11:02:15 +00:00
border-spacing: 0px;
border: 2px var(--border) solid;
border-radius: 20px;
2023-01-11 15:25:52 +00:00
}
table tr:nth-child(n) {
background: var(--table);
}
table tr:nth-child(1) {
background: var(--table-top);
}
tr {
2023-02-10 11:02:15 +00:00
border: 1px black dotted;
2023-01-11 15:25:52 +00:00
}
td {
text-align: center;
padding: 10px;
font-size: larger;
}