websitedesign2023/docs/assets/css/main.css

380 lines
5.0 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
}
2023-04-18 12:44:33 -05:00
.logo {
display: inline-block;
width: 75px;
height: 75px;
transition: width 300ms, height 300ms;
}
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 {
background-color: #aaaaff;
2023-04-17 10:30:28 -05:00
color: #000000;
padding: 10px;
border-radius: 50px;
margin: 10px;
}
.red {
background-color: #880000;
color: #ffffff;
}
.green {
background-color: #008800;
color: #ffffff;
}
.blue {
background-color: #000088;
color: #ffffff;
}
.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;
}
.red a, .green a, .blue a {
color: #bbbbbb;
}
.red a:hover, .green a:hover, .blue a:hover, .red a:focus, .green a:focus, .blue a:focus {
color: #999999;
}
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 {
2023-04-24 08:46:47 -05:00
width: 25%;
2023-04-04 11:13:21 -05:00
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) {
2023-04-24 08:46:47 -05:00
.shopimage {
width: 50%;
}
.largercolumn {
flex-direction: column;
}
#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
.iblock {
width: 60%;
2023-04-04 11:13:21 -05:00
}
}
2023-04-04 13:51:39 -05:00
@media screen and (max-width: 500px) {
2023-04-24 08:46:47 -05:00
.shopimage {
width: 75%;
}
2023-04-04 13:51:39 -05:00
.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;
}
.smallround {
border-radius: 10px;
}
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
}