124 lines
1.9 KiB
CSS
124 lines
1.9 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
|
|
|
|
body {
|
|
font-family: "Roboto", sans-serif;
|
|
background-color: #bbbbbb;
|
|
margin: 0;
|
|
}
|
|
|
|
header {
|
|
color: #000000;
|
|
background-color: #ffffff;
|
|
margin: 20px;
|
|
padding: 10px;
|
|
border-radius: 50px;
|
|
position: fixed;
|
|
top: 10px;
|
|
width: calc(100% - 60px);
|
|
text-align: center;
|
|
z-index: 10;
|
|
}
|
|
|
|
header h1 {
|
|
display: inline-block;
|
|
text-align: left;
|
|
padding: 10px;
|
|
transition: font-size 200ms;
|
|
}
|
|
|
|
nav {
|
|
text-align: right;
|
|
display: inline-block;
|
|
padding: 10px;
|
|
}
|
|
|
|
nav ul, footer ul {
|
|
list-style: none;
|
|
display: inline-block;
|
|
padding: 0;
|
|
}
|
|
|
|
nav li, footer li {
|
|
display: inline-block;
|
|
padding: 0;
|
|
transition: font-size 200ms;
|
|
}
|
|
|
|
nav a {
|
|
color: #dddddd;
|
|
text-decoration: none;
|
|
padding: 20px;
|
|
background-color: #333333;
|
|
transition: color 750ms, background-color 750ms;
|
|
border-radius: 50px;
|
|
}
|
|
|
|
nav a:hover, nav a:focus {
|
|
color: #ffffff;
|
|
background-color: #555555;
|
|
}
|
|
|
|
.current {
|
|
color: #ffffff;
|
|
background-color: #000000;
|
|
}
|
|
|
|
main {
|
|
text-align: center;
|
|
margin: 20px;
|
|
padding: 25px;
|
|
background-color: #dddddd;
|
|
border-radius: 50px;
|
|
}
|
|
|
|
@media screen and (max-width: 370px) {
|
|
header {
|
|
margin: 10px;
|
|
width: calc(100% - 39px);
|
|
}
|
|
}
|
|
|
|
article {
|
|
text-align: left;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
footer a {
|
|
color: #000000;
|
|
text-decoration: none;
|
|
margin: 10px;
|
|
transition: color 500ms;
|
|
}
|
|
|
|
footer a:hover {
|
|
color: #444444;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
border-radius: 25px;
|
|
width: 12px;
|
|
overflow: overlay;
|
|
scrollbar-gutter: initial;
|
|
}
|
|
|
|
|
|
::-webkit-scrollbar-track {
|
|
visibility: hidden;
|
|
margin: 20px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
border-radius: 25px;
|
|
border: 6px solid #544c4a;
|
|
background-color: #544c4a;
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background-color: #363636;
|
|
border: 0;
|
|
} |