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

299 lines
4.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-04-06 17:51:02 +02:00
background: url(/images/logo_back_full.svg);
2022-03-27 19:58:39 +02:00
}
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 03:57:46 +02:00
padding-bottom: 0;
2022-03-27 03:13:08 +02:00
}
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-27 03:54:23 +02:00
h1 {
2022-04-04 21:26:28 +02:00
margin-left: .5rem;
2021-10-23 22:20:01 +02:00
}
.right-sidebar {
2022-03-27 03:13:08 +02:00
display: none;
2022-03-27 00:48:29 +01:00
margin-left: 1rem;
2022-04-04 21:26:28 +02:00
justify-content: flex-end;
margin-right: 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;
2022-03-27 16:47:39 +02:00
align-items: center;
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;
2022-04-03 01:02:41 +02:00
flex-direction: column-reverse;
2021-10-23 22:20:01 +02:00
}
2022-04-03 01:02:41 +02:00
.footer_color {
color: var(--links);
2022-04-02 23:43:27 +02:00
}
2022-04-03 01:12:28 +02:00
.infobox {
text-align: center;
}
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;
}
2022-04-05 20:58:02 +02:00
#articletitle h2 {
margin-top: 0;
}
2021-10-23 22:20:01 +02:00
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;
}
article {
display: flex;
flex-direction: column;
2022-04-04 12:06:53 +02:00
margin-bottom: 2rem;
2022-04-05 20:58:02 +02:00
padding: 1rem 1rem 1rem 1rem;
2022-03-27 00:05:47 +01:00
}
2022-04-05 20:58:02 +02:00
#articletext img {
2022-04-06 21:20:16 +02:00
2022-04-05 20:58:02 +02:00
border-radius: 15px;
width: 80%;
2022-03-27 00:59:17 +01:00
}
2022-03-27 00:05:47 +01:00
#articlemeta {
2022-04-05 14:49:37 +02:00
margin-bottom: 1rem;
2022-04-04 03:35:13 +02:00
}
#articlemeta div:first-child {
font-size: medium;
font-weight: bold;
2022-03-27 00:05:47 +01:00
}
2022-04-04 11:21:48 +02:00
#articleinner {
2022-03-26 22:14:04 +01:00
display: flex;
2022-04-04 11:21:48 +02:00
flex-direction: column-reverse;
margin-top: .5rem;
}
#articletext {
margin-bottom: 1rem;
2022-03-26 19:22:14 +01:00
}
2022-03-26 22:14:04 +01:00
2022-04-04 11:21:48 +02:00
#articlepicture {
margin-top: .3rem;
2022-03-27 00:05:47 +01:00
}
2022-03-26 22:14:04 +01:00
#articledata {
display: flex;
flex-direction: column-reverse;
}
2022-04-03 21:08:42 +02:00
#article_footer {
margin-left: 1rem;
margin-top: 2rem;
display: flex;
align-items: flex-end;
font-size: x-small;
border-top: 1px solid var(--background);
color: var(--text-muted);
}
2022-03-27 00:05:47 +01:00
.articlebgcol1 {
background-color: var(--background);
}
2022-04-04 11:21:48 +02:00
#nav-posts {
display: flex;
flex-direction: column;
}
.post_tag {
text-transform: capitalize;
margin-left: .5rem;
2022-03-27 00:05:47 +01:00
}
2022-03-27 20:39:19 +02:00
.result {
-webkit-user-select: all;
user-select: all;
}
2022-04-04 01:24:18 +02:00
input, textarea {
background-color: var(--background-body);
2022-04-03 21:08:42 +02:00
}
2022-04-02 23:30:28 +02:00
.underline {
text-decoration: underline;
}
2022-04-04 11:21:48 +02:00
.multiple_small {
flex: 0 0 24%;
margin-right: 1rem;
}
.multiple_big {
flex: 0 0 72%;
}
.solo {
flex: 0 0 100%;
}
.borderrad25 {
border-radius: 15px;
}
2022-04-04 12:44:19 +02:00
.minmax {
width: auto;
max-width: auto;
}
2022-04-04 19:28:17 +02:00
.align_menu {
list-style: none; text-align: right;
}
2022-04-06 17:51:02 +02:00
.margin_left_1rem {
margin-left: 1rem;
}
.margin_top_1rem {
margin-top: 1rem;
}
2022-04-06 19:06:41 +02:00
.lightborder {
}
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-04-05 14:49:37 +02:00
2022-03-27 03:54:23 +02:00
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;
2022-03-27 14:24:21 +02:00
margin-top: 1rem;
margin-right: .5rem;
2022-04-04 21:26:28 +02:00
justify-content: flex-start;
2021-10-23 22:20:01 +02:00
}
2022-03-26 19:22:14 +01:00
footer {
padding-left: 10px;
2022-04-03 01:02:41 +02:00
padding-right: 10px;
flex-direction: row;
2022-03-26 19:22:14 +01:00
}
2022-04-03 01:15:56 +02:00
.infobox {
text-align: left;
}
2022-04-04 11:21:48 +02:00
#articleinner {
display: flex;
flex-direction: row;
2022-03-26 21:17:30 +01:00
}
2022-04-03 21:08:42 +02:00
#article_footer {
margin-left: 2rem;
}
2022-04-04 12:44:19 +02:00
.minmax {
width: calc(100vw - 5rem);
max-width: 800px;
}
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) */
2022-04-06 02:49:47 +02:00
@media only screen and (min-width: 1200px) {...}