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

182 lines
2.9 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);
}
main h1 {
margin-top: .2rem;
margin-bottom: .2rem;
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);
}
article h2 {
margin-top: 0;
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 {
display: flex;
flex-direction: column;
2022-03-26 19:22:14 +01:00
margin-bottom: 1rem;
background-color: var(--background);
padding: 1rem;
border-radius: 18px;
/*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
2021-10-23 22:20:01 +02:00
}
article a:hover {
text-decoration: none;
}
article p:first-child {
margin: 0;
}
article img {
width: 100%;
2022-03-26 19:22:14 +01:00
margin-bottom: 1rem;
2021-10-23 22:20:01 +02:00
}
2022-03-26 19:22:14 +01:00
/*.button {
background-color: var(--background);
margin-top: 0.1rem;
margin-bottom: 0.1rem;
padding-left: 0.6rem;
padding-right: 0.6rem;
border-radius: 25px;
}
*/
2021-10-23 22:20:01 +02:00
#readmore {
2022-03-26 19:22:14 +01:00
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
}
/* Extra small devices (phones, 600px and down) */
2022-03-26 19:22:14 +01:00
}
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
border-radius: 25px;
border: 2px solid var(--background-alt);
}
header {
border: 0px solid var(--background-alt);
border-radius: 25px;
2022-03-26 19:22:14 +01:00
}
2021-10-23 22:20:01 +02:00
.container {
2022-03-26 19:22:14 +01:00
background-color: var(--background-alt);
min-height: 100vh;
2022-03-26 19:57:55 +01:00
border-radius: 25px;
border: 2px solid var(--background-alt);
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 19:22:14 +01:00
margin-top: 1rem;
2021-10-23 22:20:01 +02:00
}
#articleimage {
flex-shrink: 0;
2022-03-26 19:22:14 +01:00
margin-right: 1rem;
margin-top: .4rem;
2021-10-23 22:20:01 +02:00
width: 30%;
}
article img {
width: auto;
}
}
/* 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) {...}