TKK_E32210823/css/header.css

114 lines
1.9 KiB
CSS

* {
text-decoration: none;
box-sizing: border-box;
}
@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,300,700);
body{
/* background: -webkit-linear-gradient(left, #0e251f, #21a0ab); */
background: linear-gradient(to right, #1f4e85, #6a9ee2);
font-family: 'Roboto', sans-serif;
margin: 0;
font-size: 15px;
}
header, main {
width: 100%;
display: block;
margin: 0 auto;
}
.header {
padding: 5px;
width: 99%;
height: 100px;
}
.logo a {
text-decoration: none;
font-family: Luminari, fantasy;
font-size: 45px;
color: #000000;
font-style: italic;
text-align: center;
vertical-align: middle;
line-height: 100px;
display: block;
}
#navbar {
overflow: hidden;
background-color: #333;
}
#navbar a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
#navbar a:hover {
background-color: #ddd;
color: black;
}
.content {
padding: 16px;
}
.topnav {
overflow: hidden;
background-color: #1f4e85;
}
.topnav a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: #6a9ee2;
color: black;
}
.topnav .icon {
display: none;
}
@media screen and (max-width: 600px) {
.topnav a:not(:first-child) {display: none;}
.topnav a.icon {
float: right;
display: block;
}
.header {
height: 80px;
}
.logo a {
font-size: 27px;
line-height: 80px;
}
}
@media screen and (max-width: 600px) {
.topnav.responsive {position: relative;}
.topnav.responsive .icon {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
}
}
tbody tr:nth-child(even){background-color: rgb(63, 133, 166);}
tbody tr:nth-child(odd){background-color: #388994;}
tbody tr:hover {opacity: 0.8;}