75 lines
1.3 KiB
CSS
75 lines
1.3 KiB
CSS
/*#region Colors*/
|
|
:root {
|
|
--black: black;
|
|
--white: white;
|
|
--blue: #007ea7;
|
|
--navy-blue: #003459;
|
|
--ice_blue: #c2eafc;
|
|
}
|
|
/*#endregion*/
|
|
/*region Base Styling*/
|
|
html, body{
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: var(--ice_blue);
|
|
color: #00171f;
|
|
}
|
|
button {
|
|
background-color: var(--blue);
|
|
padding: 10px 20px;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
button:hover {
|
|
background-color: #003459;
|
|
}
|
|
/*#endregion*/
|
|
header {
|
|
background-color: var(--navy-blue);
|
|
outline: 5px solid var(--black);
|
|
color: var(--white);
|
|
padding: 1px;
|
|
text-align: center;
|
|
}
|
|
/*#region Entries*/
|
|
ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
li {
|
|
background-color: var(--white);
|
|
outline: 2px solid black;
|
|
border: 1px solid var(--blue);
|
|
padding: 10px;
|
|
margin-bottom: 30px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
li :nth-child(3) {
|
|
flex-grow: 1;
|
|
}
|
|
li > img {
|
|
width: 100%;
|
|
aspect-ratio: 5/2;
|
|
object-fit: cover;
|
|
border: 3px solid var(--black);
|
|
margin: Auto;
|
|
position: relative;
|
|
right: 3px;
|
|
}
|
|
/*#endregion*/
|
|
footer {
|
|
background-color: var(--blue);
|
|
outline: 5px solid var(--black);
|
|
color: var(--white);
|
|
padding: 10px;
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
|