websitedesign2023/docs/assets/css/main.css

183 lines
2.6 KiB
CSS
Raw Normal View History

2023-01-13 12:49:31 -06:00
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
body {
font-family: "Roboto", sans-serif;
2023-02-06 15:19:18 -06:00
background-color: #55aadd;
2023-01-17 15:43:05 -06:00
margin: 0;
2023-01-17 14:31:49 -06:00
}
header {
2023-01-17 15:43:05 -06:00
color: #000000;
2023-02-06 15:19:18 -06:00
background-color: #ffaa77;
2023-01-17 15:43:05 -06:00
margin: 20px;
padding: 10px;
border-radius: 50px;
position: fixed;
top: 10px;
width: calc(100% - 60px);
2023-01-18 15:44:59 -06:00
text-align: center;
z-index: 10;
2023-01-13 12:49:31 -06:00
}
2023-01-17 14:31:49 -06:00
header h1 {
display: inline-block;
2023-01-17 15:43:05 -06:00
text-align: left;
2023-01-17 14:31:49 -06:00
padding: 10px;
2023-01-18 12:45:47 -06:00
transition: font-size 200ms;
2023-01-17 14:31:49 -06:00
}
nav {
2023-01-17 15:43:05 -06:00
text-align: right;
2023-01-17 14:31:49 -06:00
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;
2023-01-18 12:45:47 -06:00
transition: font-size 200ms;
2023-01-17 14:31:49 -06:00
}
nav a {
color: #dddddd;
text-decoration: none;
2023-01-18 15:44:59 -06:00
padding: 20px;
2023-01-17 14:31:49 -06:00
background-color: #333333;
transition: color 750ms, background-color 750ms;
2023-01-18 15:44:59 -06:00
border-radius: 50px;
2023-01-17 14:31:49 -06:00
}
nav a:hover, nav a:focus {
color: #ffffff;
background-color: #555555;
}
.navscroll {
padding: 15px;
font-size: 12px;
}
#current {
2023-01-18 15:44:59 -06:00
color: #ffffff;
background-color: #000000;
2023-01-17 15:43:05 -06:00
}
main {
text-align: center;
margin: 20px;
padding: 25px;
background-color: #dddddd;
border-radius: 50px;
}
#menu {
display: none;
}
2023-02-06 15:19:18 -06:00
@media screen and (max-width: 1000px) {
#menu {
display: inline-block;
}
nav {
display: none;
text-align: center;
}
.navshown {
display: block;
}
nav a {
padding: 12px;
font-size: 15px;
}
nav li {
display: block;
padding: 12px;
}
.navscroll {
padding: 12px;
font-size: 15px;
}
}
2023-01-18 15:44:59 -06:00
@media screen and (max-width: 370px) {
header {
margin: 10px;
width: calc(100% - 39px);
}
nav a {
padding: 5px;
font-size: 12px;
}
2023-01-18 15:44:59 -06:00
}
2023-01-13 12:49:31 -06:00
article {
text-align: left;
2023-01-17 15:43:05 -06:00
}
2023-02-08 12:39:40 -06:00
img {
width: 100%;
}
.center {
text-align: center;
}
.round {
border-radius: 50px;
}
.smallimg {
width: 50%;
}
2023-01-17 15:43:05 -06:00
footer {
text-align: center;
2023-01-18 15:44:59 -06:00
}
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;
2023-01-13 12:49:31 -06:00
}