WME/css/main.css

55 lines
1,005 B
CSS
Raw Normal View History

2018-10-17 16:20:59 +00:00
/* Add a black background color to the top navigation */
.topnav {
background-image: linear-gradient(grey, lightgrey);
2018-10-17 16:20:59 +00:00
overflow: hidden;
}
/* Style the links inside the navigation bar */
2018-10-22 08:45:14 +00:00
.topnav a {
2018-10-17 16:20:59 +00:00
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
/* Change the color of links on hover */
2018-10-22 08:45:14 +00:00
.topnav a:hover {
2018-10-17 16:20:59 +00:00
background-color: #ddd;
color: black;
}
/* Add a color to the active/current link */
2018-10-22 08:45:14 +00:00
.topnav a.active {
2018-10-17 16:20:59 +00:00
background-color: #4CAF50;
color: white;
2018-10-21 16:03:11 +00:00
}
table#t01 {
width: 100%;
2018-10-24 08:14:16 +00:00
background-color: white;
border-spacing: 5px;
text-align: center;
}
table#t01 tr:nth-child(even) {
2018-10-24 08:14:16 +00:00
background-color: lightblue;
}
2018-10-24 08:00:00 +00:00
table#t01 tr:nth-child(odd) {
2018-10-24 08:14:16 +00:00
background-color: lightgrey;
}
2018-10-24 08:00:00 +00:00
table#t01 th {
color: white;
2018-10-24 08:14:16 +00:00
background-color: lightblue;
padding: 15px;
2018-10-24 08:00:00 +00:00
}
.boxed {
border: 1px solid green;
width: 80%;
box-align: center;
text-align: center;
2018-10-17 16:20:59 +00:00
}