aro/static/style.css

132 lines
2.0 KiB
CSS

:root {
--hl: #7fc4ff;
--bg: black;
--bg2: #101012;
--fg: #ececef;
--fg-dim: #ddddde;
}
html {
padding: 2em 0;
background-color: var(--bg);
color: var(--fg);
font-family: 'Lato', 'Segoe UI', sans-serif;
font-size: 13pt;
line-height: 140%;
}
body {
background-color: var(--bg2);
border-radius: 2em;
padding: 5%;
width: 80%;
margin: auto;
}
code {
font-family: "Hack", "Fira Code", "Courier New", monospace;
background-color: #2a2a2a;
}
.meta {
font-size: 75%;
color: var(--fg-dim);
}
p {
text-align: justify;
margin-block-start: 0.2em;
margin-block-end: 0.2em;
}
form > * {
height: 2em;
border-color: var(--hl);
background-color: var(--bg2);
color: var(--fg);
border-width: 0 0 2px 0;
}
form > *:focus {
outline: none;
}
#searchbox {
width: 90%;
}
#submit {
width: 10%;
}
a {
color: var(--hl);
}
h2 {
margin-block-end: 0;
margin-block-start: 0;
font-weight: normal;
font-size: 130%;
}
.thumb {
max-height: 250px;
max-width: 30%;
float: right;
margin: 0 0 0.8em 1.2em;
box-shadow: 10px 10px var(--bg);
}
.fullimage {
width: 30%;
float: right;
margin: 0 0 1em 1.5em;
box-shadow: 15px 15px var(--bg);
}
.banlist-icon {
height: 15pt;
width: 15pt;
vertical-align: top;
}
/*
* This is a big <a> element that looks and behaves more like a div
* because we can’t put a div inside an a.
*/
.cardresult {
display: block;
padding: 1em;
flex-grow: 1;
flex-basis: 25em;
transition-duration: 200ms;
text-decoration: none;
color: var(--fg);
}
.cardresult:hover {
background-color: var(--bg);
}
.cardname {
color: var(--hl);
text-decoration: underline;
}
@media screen and (max-width: 680px) {
body {
width: 95%;
padding: 3%;
}
#bottom {
bottom: 1em;
}
}
/* little floaty thing at the bottom with links to home and help */
#bottom {
position: fixed;
bottom: 2em;
right: 10%;
background-color: var(--bg);
z-index: 2;
padding: 1em;
border-radius: 1em;
}