luga-2018/luga.css

261 lines
3.7 KiB
CSS

body {
--yellow-light: #fecc04;
--yellow-dark: #feb204;
}
@font-face {
font-family: "Linux Biolinum O";
font-style: normal;
src: url(LinBiolinum_R.otf);
}
@font-face {
font-family: "Linux Biolinum O";
font-style: italic;
src: url(LinBiolinum_RI.otf);
}
header {
background-color: var(--yellow-light);
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
border-radius: 0em 1em 0em 0em;
}
@media only screen and (min-width: 65rem) {
body {
display: grid;
grid-template-columns: 13rem auto 20rem;
grid-template-rows: 3rem auto auto auto;
}
#logo {
grid-column: 1;
grid-row: 1 / span 2;
}
header {
grid-column: 2 / span 2;
grid-row: 1;
}
nav {
grid-column: 1;
grid-row: 3;
}
main {
grid-column: 2;
grid-row: 2 / span 3;
}
footer {
grid-column: 3;
grid-row: 2 / span 3;
text-align: right;
}
}
@media only screen and (min-width: 40rem) and (max-width: 65rem) {
body {
display: grid;
grid-template-columns: 13rem auto;
grid-template-rows: auto auto auto auto auto;
}
#logo {
grid-column: 1;
grid-row: 1 / span 2;
}
header {
grid-column: 2;
grid-row: 1;
}
nav {
grid-column: 1;
grid-row: 3;
}
main {
grid-column: 2;
grid-row: 2 / span 3;
}
footer {
grid-column: 1 / span 2;
grid-row: 5;
text-align: left;
}
}
@media only screen and (max-width: 40rem) {
body {
display: grid;
grid-template-columns: 3rem auto;
grid-template-rows: auto auto auto auto auto;
}
#logo {
grid-column: 1;
grid-row: 1 / span 2;
height: 3rem;
}
header {
grid-column: 2;
grid-row: 1;
}
nav {
grid-column: 1;
grid-row: 3;
overflow: hidden;
}
nav:hover {
overflow: visible;
z-index: 1;
}
main {
grid-column: 2;
grid-row: 2 / span 3;
}
footer {
grid-column: 1 / span 2;
grid-row: 5;
text-align: left;
}
}
nav a {
color: #008;
text-decoration: none;
padding-left: 0.5rem;
padding-right: 0.5rem;
}
nav a:focus {
border: 1px dotted #CCF;
}
nav a:hover {
text-decoration: underline;
}
nav a.current {
background-color: var(--yellow-dark);
}
input.leftfield {
border: 1px black solid;
border-radius: 0.5rem 0px 0px 0.5rem;
padding: 0.3rem 0.5rem;
height: 1.0rem;
}
label.rightbutton {
border: 1px black solid;
border-radius: 0px 0.5rem 0.5rem 0px;
padding: 0.1rem;
background-color: #EEE;
position: relative;
top: 0.1em;
height: 1.4rem;
}
header form {
margin: 0.5em;
}
header button {
margin: 0.6em;
}
body {
font-family: "Linux Biolinum O";
font-size-adjust: 0.5625;
}
h1 {
margin: 0px;
padding-left: 0.5rem;
font-weight: normal;
}
footer {
/* background-color: var(--yellow-dark); */
color: #888;
}
nav {
background-color: var(--yellow-light);
border-radius: 0em 0em 0em 1em;
margin-right: 1rem;
margin-top: 1rem;
max-width: 15rem;
}
nav ul {
list-style-type: none;
padding-left: 0.7em;
background-color: var(--yellow-light);
}
footer ul {
list-style-type: none;
padding-left: 1em;
}
p, h2, h3, dl {
max-width: 40rem;
padding-left: 0.5rem;
}
h2 {
border-top: solid 2px var(--yellow-dark);
font-weight: normal;
font-size: 1.7rem;
}
h3 {
border-top: solid 1px var(--yellow-light);
font-weight: normal;
font-size: 1.5rem;
}
.oneline {
white-space: nowrap;
}
nav input {
width: 8rem;
}
nav form {
padding: 0.5em;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.event dl dt {
font-size: 0.8em;
margin-top: 0.5em;
}
dd p:first-child {
margin-top: 0;
}