d479-prototype/styles.css

214 lines
3.3 KiB
CSS
Raw Normal View History

2024-11-13 04:34:51 +00:00
/* styles.css */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
2024-11-14 03:37:18 +00:00
font-family: "DejaVu Sans", sans-serif;
2024-11-13 04:34:51 +00:00
}
body {
color: #232323ff;
display: flex;
flex-direction: column;
background-color: #9c9c89ff;
}
header {
background-color: #9a9a66ff;
color: white;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
header ul {
display: flex;
list-style-type: none;
margin: 0;
padding: 0;
width: 48%;
justify-content: right;
}
header ul li {
padding: 0 10px;
}
header ul li a {
text-decoration: none;
color: white;
transition: color 0.3s ease-in-out;
}
header ul li a:hover {
transition: color 0.3s ease-in-out;
color: #232323ff;
}
header p {
display: flex;
justify-content: left;
font-size: large;
width: 48%;
}
header img {
display: flex;
width: 2%;
margin-right: 2%;
}
#content {
display: flex;
align-items: flex-start;
flex-direction: column;
width: 90%;
margin: auto;
background-color: #d4d4bcff;
padding: 1%;
}
2024-11-15 03:57:59 +00:00
#content h1, h2 {
2024-11-13 04:34:51 +00:00
justify-content: center;
text-align: center;
width: 100%;
}
2024-11-15 03:57:59 +00:00
#content h2 {
margin-top: 50px;
border-bottom: 5px solid #232323ff;
border-radius: 10px;
}
2024-11-13 04:34:51 +00:00
#content p {
2024-11-14 03:37:18 +00:00
font-size: large;
2024-11-13 04:34:51 +00:00
}
#content a {
color: #669a87ff;
text-decoration: none;
}
#content a:hover {
text-decoration: underline;
2024-11-14 03:37:18 +00:00
}
#top-banner {
width: 100%;
height: 25vh;
overflow: hidden;
}
#top-banner img {
width: 100%;
height: 100%;
object-fit: cover;
}
.split-container {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
}
.split-container>* {
2024-11-15 03:57:59 +00:00
flex: 1;
2024-11-14 03:37:18 +00:00
margin: 2%;
2024-11-15 03:57:59 +00:00
box-sizing: border-box;
2024-11-14 03:37:18 +00:00
}
2024-11-15 03:57:59 +00:00
.image-container-left, .image-container-right {
width: 1500px;
height: 400px;
2024-11-14 03:37:18 +00:00
border: 20px solid #669a87ff;
border-radius: 10px;
2024-11-15 03:57:59 +00:00
transition: scale 0.3s;
overflow: hidden;
padding: 0;
margin-top: 80px;
}
.image-container-right {
2024-11-14 03:37:18 +00:00
rotate: 5deg;
2024-11-15 03:57:59 +00:00
}
.image-container-left {
rotate: -5deg;
}
.image-container-left img, .image-container-right img {
2024-11-14 03:37:18 +00:00
width: 100%;
2024-11-15 03:57:59 +00:00
height: 100%;
object-fit: cover;
margin: 0;
padding: 0;
2024-11-14 03:37:18 +00:00
}
2024-11-15 03:57:59 +00:00
.image-container-left:hover, .image-container-right:hover {
scale: 1.05;
2024-11-14 03:37:18 +00:00
transition: scale 0.3s;
}
.button {
margin: 0;
background-color: #669a87ff;
color: white;
outline: #669a87ff solid 5px;
outline-offset: -1px;
text-align: center;
border-radius: 10px;
padding: 20px;
width: 300px;
transition: outline-offset ease-in-out 0.3s;
}
.button:hover {
outline: #669a87ff solid 5px;
outline-offset: 5px;
transition: outline-offset ease-in-out 0.3s;
}
#faq-box {
margin: 5% 10%;
}
#faq-box li {
margin-bottom: 30px;
2024-11-15 03:57:59 +00:00
}
footer {
width: 100%;
height: 5vh;
background-color: #45452e;
color: white;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
footer ul {
display: flex;
list-style-type: none;
margin: 0;
padding: 0;
width: 48%;
justify-content: center;
}
footer ul li {
padding: 0 10px;
}
footer ul li a {
text-decoration: underline;
color: white;
transition: color 0.3s ease-in-out;
}
footer ul li a:hover {
transition: color 0.3s ease-in-out;
color: #232323ff;
}