Website-Ferienwohnung/app/css/main.css

76 lines
1.3 KiB
CSS
Raw Normal View History

2024-02-19 20:16:52 +00:00
/*#region Colors*/
:root {
--black: black;
--white: white;
--blue: #007ea7;
--navy-blue: #003459;
--ice_blue: #c2eafc;
}
/*#endregion*/
/*region Base Styling*/
html, body{
2024-02-10 15:34:23 +00:00
margin: 0;
2024-02-19 19:40:06 +00:00
padding: 0;
2024-02-19 20:16:52 +00:00
}
body {
font-family: Arial, sans-serif;
background-color: var(--ice_blue);
2024-02-19 19:40:06 +00:00
color: #00171f;
}
2024-02-19 20:16:52 +00:00
button {
background-color: var(--blue);
padding: 10px 20px;
border: none;
cursor: pointer;
}
button:hover {
2024-02-19 19:40:06 +00:00
background-color: #003459;
2024-02-19 20:16:52 +00:00
}
/*#endregion*/
header {
background-color: var(--navy-blue);
outline: 5px solid var(--black);
color: var(--white);
2024-02-19 19:40:06 +00:00
padding: 1px;
text-align: center;
}
2024-02-19 20:16:52 +00:00
/*#region Entries*/
ul {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: repeat(2, 1fr);
2024-02-19 19:40:06 +00:00
}
2024-02-19 20:16:52 +00:00
li {
background-color: var(--white);
2024-02-19 19:40:06 +00:00
outline: 2px solid black;
2024-02-19 20:16:52 +00:00
border: 1px solid var(--blue);
2024-02-19 19:40:06 +00:00
padding: 10px;
margin-bottom: 30px;
2024-02-19 20:16:52 +00:00
display: flex;
flex-direction: column;
2024-02-19 19:40:06 +00:00
}
2024-02-19 20:16:52 +00:00
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*/
2024-02-19 19:40:06 +00:00
footer {
2024-02-19 20:16:52 +00:00
background-color: var(--blue);
outline: 5px solid var(--black);
color: var(--white);
2024-02-19 19:40:06 +00:00
padding: 10px;
text-align: center;
width: 100%;
}