d479-prototype/styles.css

91 lines
1.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;
font-family: "DejaVu Serif", sans-serif;
}
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%;
margin: 1%;
}
#content p {
margin: 1%;
}
#content a {
color: #669a87ff;
text-decoration: none;
}
#content a:hover {
text-decoration: underline;
}