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

218 lines
3.1 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-27 03:13:08 +02:00
details {
margin-top: 0;
}
summary {
background-color: var(--background-alt);
}
2022-03-27 00:54:07 +01:00
2022-03-27 03:13:08 +02:00
details p, details section {
text-align: right;
}
aside {
display: none;
}
2022-03-27 00:54:07 +01:00
2022-03-26 19:22:14 +01:00
main h1 {
2022-03-27 00:43:25 +01:00
margin-top: 0rem;
2022-03-27 00:05:47 +01:00
margin-bottom: 0rem;
2021-10-23 22:20:01 +02:00
}
.right-sidebar {
2022-03-27 03:13:08 +02:00
display: none;
2022-03-26 19:22:14 +01:00
flex-direction: row;
2022-03-27 00:48:29 +01:00
margin-left: 1rem;
2022-03-26 19:22:14 +01:00
}
.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;
2022-03-27 00:47:28 +01:00
margin-left: 1rem;
margin-right: 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;
}
2022-03-27 00:59:17 +01:00
article h3 {
margin: 0;
}
2022-03-27 00:05:47 +01:00
#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-27 03:13:08 +02:00
details {
display: none;
}
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-27 00:54:07 +01:00
min-height: 70vh;
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 {
2022-03-27 03:13:08 +02:00
display: flex;
2021-10-23 22:20:01 +02:00
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%;
2022-03-27 00:43:25 +01:00
min-height: 100vh;
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:20:37 +01:00
max-width: 30%;
2022-03-27 00:05:47 +01:00
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) {...}