websitedesign2023/docs/assets/css/main.css

337 lines
4.4 KiB
CSS
Raw Normal View History

2023-04-03 12:33:01 -05:00
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Roboto&display=swap');
2023-01-13 12:49:31 -06:00
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
}
a {
color: #333333;
text-decoration: underline;
}
a:hover, a:focus {
color: #444444;
}
2023-01-17 14:31:49 -06:00
header {
2023-02-08 15:45:45 -06:00
color: #ffffff;
background-color: #00008b;
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-12 18:45:06 -06:00
.grid {
display: inline-grid;
columns: 2;
}
.griditem {
margin: 10px;
}
.smallimg {
width: 50%;
}
section {
2023-04-17 10:30:28 -05:00
background-color: #bbbbbb;
color: #000000;
padding: 10px;
border-radius: 50px;
margin: 10px;
}
.flex {
display: flex;
align-items: center;
}
.textleft {
text-align: left
}
section p {
font-size: 1.5vw;
}
section a {
2023-04-17 10:30:28 -05:00
color: #444444;
}
section a:hover, section a:focus {
2023-04-17 10:30:28 -05:00
color: #666666;
}
2023-03-30 13:08:31 -05:00
.extrapadding {
padding: 25px;
2023-03-30 13:08:31 -05:00
}
2023-04-04 11:13:21 -05:00
.extramargin {
margin: 30px;
}
2023-04-04 13:51:39 -05:00
.lessmargin {
margin: 5px;
}
2023-04-03 12:33:01 -05:00
.centercontainer {
display: inline-block;
text-align: left;
}
2023-04-04 11:13:21 -05:00
.nowidth {
width: unset;
}
.shopimage {
width: 10%;
height: auto;
}
.fill {
width: 90%;
}
.button {
display: inline-block;
margin: 10px;
padding: 15px;
border-radius: 30px;
font-size: 16px;
background-color: #777777;
color: #ffffff;
text-decoration: none;
transition: background-color 750ms;
}
.button:hover {
color: #ffffff;
background-color: #555555;
}
.iblock {
display: inline-block;
width: 90%;
}
2023-04-04 13:51:39 -05:00
.third {
width: 30%;
}
2023-02-12 18:45:06 -06:00
@media screen and (min-width: 1000px) {
.top {
grid-row: 1;
}
.bottom {
grid-row: 2;
}
.left {
grid-column: 1;
}
.right {
grid-column: 2;
}
.half {
width: 50%
}
section p {
2023-03-31 10:43:47 -05:00
padding: 25px;
}
2023-02-08 15:33:44 -06:00
}
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-02-08 15:33:44 -06:00
.col {
flex-direction: column;
}
section p {
font-size: 16px;
2023-02-08 15:33:44 -06:00
}
2023-04-04 11:13:21 -05:00
.shopimage {
width: 25%;
}
.iblock {
width: 100%;
}
}
2023-04-04 13:51:39 -05:00
@media screen and (max-width: 500px) {
.smallcolumn {
flex-direction: column;
}
.third {
width: 60%;
}
}
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;
}
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
}