74 lines
1.1 KiB
CSS
74 lines
1.1 KiB
CSS
html, body {
|
|
margin: 0;
|
|
height: 100%;
|
|
background-color: #fff1de;
|
|
}
|
|
|
|
.overlay {
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
transition: opacity 1s;
|
|
opacity: 100%;
|
|
}
|
|
|
|
.main-content-grid {
|
|
height: 80%;
|
|
width: 80%;
|
|
display: grid;
|
|
text-align: center;
|
|
}
|
|
.main-content-grid > * {
|
|
display: block;
|
|
}
|
|
|
|
.center {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: auto;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.center > * {
|
|
align-content: center;
|
|
}
|
|
|
|
.hidden {
|
|
opacity: 0%;
|
|
z-index: -1;
|
|
}
|
|
|
|
h1 {
|
|
display: block;
|
|
font-family: "Georgia", serif;
|
|
font-weight: normal;
|
|
color: #7b5b2f;
|
|
}
|
|
|
|
.widget {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
flex-direction: column;
|
|
margin: 1em;
|
|
padding: 1em;
|
|
border-radius: 1em;
|
|
border: 0.2em #c7ab82 solid;
|
|
background-color: white;
|
|
}
|
|
|
|
.widget h2 {
|
|
font-family: "Georgia", serif;
|
|
font-weight: normal;
|
|
color: #7b5b2f;
|
|
font-size: 1em;
|
|
display: inline-block;
|
|
}
|
|
|
|
.widget p {
|
|
margin: 0;
|
|
}
|