bunteshaus.de/themes/buha/assets/css/layout.css

189 lines
2.8 KiB
CSS
Raw Normal View History

2021-10-23 22:20:01 +02:00
#headerinner {
display: flex;
align-items: center;
justify-content: space-between;
2022-03-26 19:22:14 +01:00
flex-direction: row;
flex-wrap: wrap;
2022-03-26 19:57:55 +01:00
background-color: #741e94;
2022-03-26 19:22:14 +01:00
background: url(/images/logo_back_full.svg);
}
2022-03-26 21:17:30 +01:00
.container {
background-color: var(--background-alt);
background-image: linear-gradient(var(--background-alt), var(--background));
}
2022-03-26 19:22:14 +01:00
main h1 {
2022-03-27 00:05:47 +01:00
margin-top: 1rem;
margin-bottom: 0rem;
2021-10-23 22:20:01 +02:00
}
.right-sidebar {
display: flex;
2022-03-26 19:22:14 +01:00
flex-direction: row;
}
.right-sidebar a {
color: var(--text-muted);
2021-10-23 22:20:01 +02:00
}
#pagination {
display: flex;
justify-content: flex-start;
2022-03-26 19:22:14 +01:00
margin: 1rem;
2021-10-23 22:20:01 +02:00
}
#pagination a {
2022-03-26 19:22:14 +01:00
padding-right: 1rem;
2021-10-23 22:20:01 +02:00
}
2022-03-26 19:22:14 +01:00
2021-10-23 22:20:01 +02:00
#menu {
display: flex;
justify-content: flex-end;
flex-wrap: wrap;
2022-03-26 19:22:14 +01:00
padding-right: .5rem;
2021-10-23 22:20:01 +02:00
}
#menu a {
2022-03-26 19:22:14 +01:00
margin-left: .5rem;
color: var(--text-header);
}
2021-10-23 22:20:01 +02:00
footer {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
2022-03-26 19:22:14 +01:00
margin-top: 1rem;
2021-10-23 22:20:01 +02:00
}
footer div {
2022-03-26 19:22:14 +01:00
margin-top: 1rem;
2021-10-23 22:20:01 +02:00
}
p a {
text-decoration: underline;
}
article a:hover {
text-decoration: none;
}
article p:first-child {
margin: 0;
}
2022-03-27 00:05:47 +01:00
article #readmore {
margin-top: 1rem;
}
2021-10-23 22:20:01 +02:00
#nav-posts {
display: flex;
flex-direction: column;
}
.post_tag {
text-transform: capitalize;
2022-03-26 19:22:14 +01:00
margin-left: .5rem;
2021-10-23 22:20:01 +02:00
}
2022-03-27 00:05:47 +01:00
article {
display: flex;
flex-direction: column;
margin-bottom: 1rem;
padding: 1rem;
}
article h2 {
margin: 0;
}
#articlemeta {
margin-bottom: 1rem;
}
2022-03-26 22:14:04 +01:00
#articlecontent {
display: flex;
flex-direction: column;
2022-03-26 19:22:14 +01:00
}
2022-03-26 22:14:04 +01:00
2022-03-27 00:05:47 +01:00
#articleimage {
margin-top: 1rem;
}
2022-03-26 22:14:04 +01:00
#articledata {
display: flex;
flex-direction: column-reverse;
}
2022-03-27 00:05:47 +01:00
.articlebgcol1 {
background-color: var(--background);
}
#readmore {
margin-bottom: 1rem;
}
2022-03-26 22:14:04 +01:00
/* Extra small devices (phones, 600px and down) */
2021-10-23 22:20:01 +02:00
@media only screen and (max-width: 600px) {...}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
2022-03-26 19:22:14 +01:00
#headerinner {
padding: 10px;
2022-03-26 19:57:55 +01:00
}
2021-10-23 22:20:01 +02:00
.container {
2022-03-26 19:22:14 +01:00
min-height: 100vh;
2021-10-23 22:20:01 +02:00
}
2022-03-26 19:22:14 +01:00
2021-10-23 22:20:01 +02:00
.content {
2022-03-26 19:22:14 +01:00
padding-left: 10px;
padding-right: 10px;
2021-10-23 22:20:01 +02:00
display: flex;
justify-content: space-between;
2022-03-26 19:22:14 +01:00
min-height: 60vh;
2021-10-23 22:20:01 +02:00
}
2022-03-26 19:22:14 +01:00
2021-10-23 22:20:01 +02:00
.right-sidebar {
flex-shrink: 0;
flex-grow: 0;
2022-03-26 19:22:14 +01:00
margin-left: 2rem;
2021-10-23 22:20:01 +02:00
text-align: right;
2022-03-26 19:22:14 +01:00
flex-direction: column;
min-width: 15%;
2021-10-23 22:20:01 +02:00
}
2022-03-26 19:22:14 +01:00
footer {
padding-left: 10px;
padding-right: 10px;
}
2021-10-23 22:20:01 +02:00
#articledata {
display: flex;
flex-direction: row;
}
2022-03-26 22:14:04 +01:00
#articleimage {
2022-03-27 00:05:47 +01:00
margin-top: .5rem;
display: flex;
flex-direction: column;
flex-shrink: 0;
2022-03-26 22:14:04 +01:00
margin-right: 1rem;
2022-03-27 00:05:47 +01:00
max-width: 15rem;
min-width: 1rem;
height: 100%;
}
.borderrad25 {
border-radius: 25px;
2022-03-26 21:17:30 +01:00
}
2021-10-23 22:20:01 +02:00
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {...}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {...}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {...}