spamnoticer_static/style.css

93 lines
1.3 KiB
CSS

body {
background-color: #eeeeee;
}
header {
margin: 1em 1em;
}
.post {
background-color: white;
margin: 1em 0;
box-shadow: .4em .4em .4em grey;
border: 1px solid grey;
}
.post--overview:hover {
background-color: yellow;
box-shadow: .4em .4em .4em hsl(60, 100%, 30%);
}
.post--overview:hover .post--header {
background-color: yellow;
color: black;
}
.post--image_container {
float: left;
margin-right: 1em;
}
.post--image_container img {
max-width: 100%;
}
.post--body_container {
margin: 1em;
}
.post--body_container,
.attachment-reason,
.attachment {
display: flow-root;
}
.post--header {
background-color: #DDDDDD;
background-color: #333333;
color: white;
margin-bottom: 0.5em;
padding: 0.2em;
display: flex;
flex-direction: row;
}
.post--header a {
color: hsl(240, 100%, 75%)
}
.post--header a:visited {
color: hsl(300, 100%, 75%)
}
.post--header span,
.post--header a {
flex: 1;
}
span.post--header_action {
flex-basis: fit-content;
flex-grow: 0;
}
.post--header_action {
margin-left: 0.5em;
}
span.post--is_illegal {
color: orange;
line-height: 1.8em;
font-weight: bold;
font-family: monospace;
text-transform: uppercase;
}
nav a {
margin: 1rem;
font-size: 1.5em;
}
img.censored {
opacity: 0;
}