char.lt-old/static/css/main-layout.css

84 lines
932 B
CSS
Raw Permalink Normal View History

2022-01-14 07:02:31 +00:00
html,
body {
margin: 0;
padding: 0;
}
body {
display: flex;
2022-03-08 04:09:02 +00:00
flex-direction: row;
2022-01-14 07:02:31 +00:00
min-height: 100vh;
align-items: center;
}
.page-wrapper {
display: flex;
flex-direction: column;
max-width: 80ch;
width: 80ch;
2022-01-14 07:02:31 +00:00
margin: 0 auto;
2022-03-08 04:09:02 +00:00
}
2022-01-14 07:02:31 +00:00
#about-me {
2022-01-14 07:02:31 +00:00
padding: 1em;
border: 2px solid white;
border-radius: 1em;
margin: 1em 0;
2022-01-14 07:02:31 +00:00
}
header {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
border-bottom: 1px dashed #444;
2023-09-26 05:11:18 +00:00
padding-bottom: 1em;
margin-bottom: 1em;
2022-01-14 07:02:31 +00:00
}
header > * {
2022-01-14 07:02:31 +00:00
display: flex;
flex-direction: column;
}
main {
flex: 1;
}
footer {
margin-top: 1em;
text-align: center;
}
.hero-image {
2023-09-26 05:11:18 +00:00
height: 6rem;
border-radius: 8px;
2022-01-14 07:02:31 +00:00
}
section + section {
margin-top: 0.5em;
}
h1 {
margin: 0;
margin-bottom: 0.5em;
font-size: 2.2rem;
}
h2 {
2022-01-14 07:02:31 +00:00
margin: 0;
font-size: 1em;
2022-01-14 07:02:31 +00:00
}
p {
margin: 0.5em 0;
}
2022-03-08 04:09:02 +00:00
p + p {
2022-03-08 04:09:02 +00:00
margin-top: 1em;
}