WME/css/main.css

165 lines
2.4 KiB
CSS
Raw Normal View History

2018-10-17 16:20:59 +00:00
/* Add a black background color to the top navigation */
2018-10-27 15:06:51 +00:00
.topnav {
2018-11-04 08:11:13 +00:00
padding: 2px 125px;
background: linear-gradient(to bottom, lightgrey, white);
2018-10-17 16:20:59 +00:00
overflow: hidden;
border: 1px solid lightgrey;
2018-10-28 15:35:09 +00:00
}
.topnav ul {
2018-10-29 16:28:44 +00:00
display: flex;
flex-direction: row;
align-items: flex-end;
justify-content: flex-start;
2018-10-28 15:35:09 +00:00
}
.topnav li {
2018-10-29 16:28:44 +00:00
margin: 5px;
}
.pic{
display: block;
height: 75px;
}
.pic:hover {
2018-10-29 19:38:55 +00:00
transform: translateY(-80px);
2018-10-17 16:20:59 +00:00
}
.icon {
padding: 16px;
font-family: 'Roboto', sans-serif;
font-size: 14px;
border-left: 1px solid lightgrey;
}
2018-11-04 08:11:13 +00:00
.icon:hover {
background: linear-gradient(to top, grey, white);
}
.lastBorder {
border-right: 1px solid lightgrey;
}
2018-10-29 19:38:55 +00:00
.page {
margin: 0 125px;
}
2018-10-28 15:35:09 +00:00
h1 {
2018-11-04 08:11:13 +00:00
margin: 20px 0;
2018-10-28 15:35:09 +00:00
font-family: 'Roboto', sans-serif;
2018-11-04 08:11:13 +00:00
font-size: 30px;
2018-10-28 15:35:09 +00:00
}
.text {
font-family: 'Roboto', sans-serif;
font-size: 14px;
line-height: 145%;
font-style: normal;
2018-11-04 08:11:13 +00:00
border: 3px solid lightgrey;
border-top-color: lightgreen;
2018-10-28 15:35:09 +00:00
border-radius: 3px;
column-count: 3;
padding: 10px;
}
2018-11-04 09:45:46 +00:00
@media only screen and (max-width: 1000px) {
.text {
column-count: 2;
}
}
@media only screen and (max-width: 500px) {
.text {
column-count: 1;
}
}
.text a {
color: lightgreen;
2018-10-21 16:03:11 +00:00
}
2018-11-04 09:45:46 +00:00
.text a:hover {
color: darkgreen;
text-decoration: none;
}
2018-11-04 08:11:13 +00:00
.table {
font-family: 'Roboto', sans-serif;
margin-bottom: 15px;
vertical-align: middle;
}
/*table#t01 {
width: 100%;
2018-11-04 08:11:13 +00:00
background-color: deeppink;
2018-10-27 15:06:51 +00:00
text-align: left;
vertical-align: middle;
2018-11-04 08:11:13 +00:00
}*/
table#t01 tr:nth-child(even) {
2018-11-04 09:45:46 +00:00
background-color: lightgray;
2018-10-27 15:06:51 +00:00
height: 2em;
vertical-align: middle;
}
2018-10-24 08:00:00 +00:00
table#t01 tr:nth-child(odd) {
2018-11-04 09:45:46 +00:00
background-color: white;
2018-10-27 15:06:51 +00:00
height: 2em;
}
2018-10-24 08:00:00 +00:00
table#t01 th {
padding: 15px;
2018-10-27 15:06:51 +00:00
background-color: white;
2018-10-24 08:00:00 +00:00
}
.boxed {
border: 1px solid green;
width: 80%;
box-align: center;
text-align: center;
2018-10-27 15:06:51 +00:00
}
th {
text-align: left;
border-bottom: 3px solid lightgrey;
2018-11-03 10:27:13 +00:00
}
.did {
border: 1px solid;
float: left;
padding: 2em;
2018-11-03 11:25:12 +00:00
min-height: 150px;
min-width: 250px;
2018-11-03 10:27:13 +00:00
}
2018-11-03 11:25:12 +00:00
.Div {
display: none;
2018-11-04 08:11:13 +00:00
}
.footer{
margin: 0 125px;
border-top: 2px solid lightgreen;
font-family: 'Roboto', sans-serif;
display: flex;
justify-content: space-between;
}
.foo-left {
margin-top: 15px;
margin-bottom: 30px;
}
.foo-right {
margin-top: 15px;
margin-bottom: 30px;
text-align: right;
2018-10-17 16:20:59 +00:00
}