141 lines
2.4 KiB
SCSS
141 lines
2.4 KiB
SCSS
|
:root {
|
||
|
--align: center;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
left: 0;
|
||
|
bottom: 0;
|
||
|
height: 100%;
|
||
|
height: 100vh;
|
||
|
max-width: 1280px;
|
||
|
margin-left: auto;
|
||
|
margin-right: auto;
|
||
|
a {
|
||
|
color: var(--text-color);
|
||
|
}
|
||
|
}
|
||
|
.header {
|
||
|
flex-grow: 0;
|
||
|
height: 4rem;
|
||
|
min-height: 4rem;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
flex-direction: row;
|
||
|
flex-wrap: wrap;
|
||
|
padding-left: 1rem;
|
||
|
padding-right: 1rem;
|
||
|
}
|
||
|
.minheight {
|
||
|
min-height: 33vh;
|
||
|
}
|
||
|
.content {
|
||
|
flex-grow: 1;
|
||
|
overflow: auto;
|
||
|
}
|
||
|
|
||
|
.footer {
|
||
|
flex-grow: 0;
|
||
|
min-height: 4rem;
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
flex-wrap: wrap;
|
||
|
margin-top: 1rem;
|
||
|
margin-left: 1rem;
|
||
|
margin-right: 1rem;
|
||
|
flex-direction: column-reverse;
|
||
|
div {
|
||
|
margin-top: 1rem;
|
||
|
}
|
||
|
.infobox {
|
||
|
text-align: var(--align);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.banner {
|
||
|
display: flex; align-items: center; height: 33vh; background-position: top; background-repeat: no-repeat; background-attachment: fixed;
|
||
|
font-size: 115%;
|
||
|
h1 {
|
||
|
margin-left: auto;
|
||
|
margin-right: auto;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.banner-shadow {
|
||
|
box-shadow:
|
||
|
inset 0px -11px 8px -10px #444;
|
||
|
}
|
||
|
|
||
|
.page-intro {
|
||
|
text-align: var(--align);
|
||
|
a { text-decoration: underline; }
|
||
|
margin-top: 3rem;
|
||
|
margin-bottom: 1rem;
|
||
|
padding-right: 1.1rem;
|
||
|
}
|
||
|
|
||
|
section, article, .article_footer, .sidebar {
|
||
|
padding: 1rem;
|
||
|
}
|
||
|
|
||
|
.list {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
.two-lists {
|
||
|
display: flex; flex-wrap: wrap-reverse; justify-content: space-around;
|
||
|
}
|
||
|
|
||
|
article {
|
||
|
.article-image {
|
||
|
margin-top: 3rem;
|
||
|
margin-bottom: 3rem;
|
||
|
img, div {
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
width: 80%;
|
||
|
margin-left: auto;
|
||
|
margin-right: auto;
|
||
|
}
|
||
|
}
|
||
|
.articlemeta {
|
||
|
margin-bottom: .5rem;
|
||
|
&:first-child {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
}
|
||
|
a {
|
||
|
&:hover {
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
}
|
||
|
h3 {
|
||
|
font-size: 1.4em;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#pagination {
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
margin: 1rem;
|
||
|
a {
|
||
|
padding: .5rem;
|
||
|
margin: .5rem;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
img.dark-shadow{
|
||
|
filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 1));
|
||
|
}
|
||
|
|
||
|
.dark-shadow{
|
||
|
text-shadow: 0px 3px 3px rgba(0, 0, 0, 1);
|
||
|
color: white;
|
||
|
}
|