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

182 lines
2.9 KiB
CSS

#headerinner {
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
flex-wrap: wrap;
background-color: #741e94;
background: url(/images/logo_back_full.svg);
}
main h1 {
margin-top: .2rem;
margin-bottom: .2rem;
}
.right-sidebar {
display: flex;
flex-direction: row;
}
.right-sidebar a {
color: var(--text-muted);
}
#pagination {
display: flex;
justify-content: flex-start;
margin: 1rem;
}
#pagination a {
padding-right: 1rem;
}
#menu {
display: flex;
justify-content: flex-end;
flex-wrap: wrap;
padding-right: .5rem;
}
#menu a {
margin-left: .5rem;
color: var(--text-header);
}
article h2 {
margin-top: 0;
}
footer {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 1rem;
}
footer div {
margin-top: 1rem;
}
p a {
text-decoration: underline;
}
article {
display: flex;
flex-direction: column;
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);*/
}
article a:hover {
text-decoration: none;
}
article p:first-child {
margin: 0;
}
article img {
width: 100%;
margin-bottom: 1rem;
}
/*.button {
background-color: var(--background);
margin-top: 0.1rem;
margin-bottom: 0.1rem;
padding-left: 0.6rem;
padding-right: 0.6rem;
border-radius: 25px;
}
*/
#readmore {
margin-top: 1rem;
}
#nav-posts {
display: flex;
flex-direction: column;
}
.post_tag {
text-transform: capitalize;
margin-left: .5rem;
}
/* Extra small devices (phones, 600px and down) */
}
@media only screen and (max-width: 600px) {...}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
#headerinner {
padding: 10px;
border-radius: 25px;
border: 2px solid var(--background-alt);
}
header {
border: 0px solid var(--background-alt);
border-radius: 25px;
}
.container {
background-color: var(--background-alt);
min-height: 100vh;
border-radius: 25px;
border: 2px solid var(--background-alt);
}
.content {
padding-left: 10px;
padding-right: 10px;
display: flex;
justify-content: space-between;
min-height: 60vh;
}
.right-sidebar {
flex-shrink: 0;
flex-grow: 0;
margin-left: 2rem;
text-align: right;
flex-direction: column;
min-width: 15%;
}
footer {
padding-left: 10px;
padding-right: 10px;
}
#articledata {
display: flex;
flex-direction: row;
margin-top: 1rem;
}
#articleimage {
flex-shrink: 0;
margin-right: 1rem;
margin-top: .4rem;
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) {...}