d479-prototype/styles.css

155 lines
2.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%;
height: 100vh;
margin: auto;
background-color: #d4d4bcff;
padding: 1%;
}
#content h1 {
justify-content: center;
text-align: center;
width: 100%;
}
#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>* {
margin: 2%;
flex-grow: 1;
}
.split-container img {
border: 20px solid #669a87ff;
border-radius: 10px;
rotate: 5deg;
width: 100%;
height: auto;
transition: scale 0.3s;
}
.split-container img:hover {
scale: 1.1;
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-13 04:34:51 +00:00
}