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

295 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-03-26 19:22:14 +01:00
background: url(/images/logo_back_full.svg);
}
2022-03-27 19:58:39 +02:00
form label {
display: inline-block;
width: 100px;
}
form div {
margin-bottom: 10px;
}
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-03-27 14:42:21 +02:00
margin-top: 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;
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;
}
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-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);
}
#readmore {
margin-bottom: 1rem;
}
2022-03-27 20:39:19 +02:00
.result {
-webkit-user-select: all;
user-select: all;
}
2022-04-03 21:08:42 +02:00
label,textarea {
width: 100%;
flex-grow: 1;
}
fieldset{
display: flex;
flex-direction: column;
max-width: 58.5rem;
border-color: var(--background-alt);
}
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-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-27 03:54:23 +02:00
h1 {
margin-top: .5rem;
margin-bottom: 1rem;
}
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;
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;
}
2021-10-23 22:20:01 +02:00
#articledata {
display: flex;
flex-direction: row;
}
2022-03-27 04:28:30 +02:00
.text, #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;
}
2022-03-27 03:54:23 +02:00
.notext {
margin-top: .5rem;
flex-shrink: 0;
max-width: 50%;
height: 50%;
2022-03-27 16:47:39 +02:00
margin-right: 1rem;
2022-03-27 03:54:23 +02:00
}
2022-03-27 00:05:47 +01:00
.borderrad25 {
border-radius: 25px;
2022-03-26 21:17:30 +01:00
}
2022-04-03 21:08:42 +02:00
#article_footer {
margin-left: 2rem;
}
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) {...}