luga-2018/luga.css

264 lines
3.8 KiB
CSS
Raw Permalink Normal View History

2018-05-31 20:12:06 +02:00
body {
2018-06-01 14:50:28 +02:00
--color-accent-light: #fecc04;
--color-accent-dark: #feb204;
--width-column-left: auto
2018-05-31 20:12:06 +02:00
}
2018-05-31 20:55:09 +02:00
@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);
}
2018-05-31 20:12:06 +02:00
header {
2018-06-01 14:50:28 +02:00
background-color: var(--color-accent-light);
2018-05-31 20:12:06 +02:00
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;
2018-06-01 14:50:28 +02:00
grid-template-columns: var(--width-column-left) auto 20rem;
2018-05-31 20:12:06 +02:00
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) {
2018-05-31 20:12:06 +02:00
body {
display: grid;
2018-06-01 14:50:28 +02:00
grid-template-columns: var(--width-column-left) auto;
grid-template-rows: auto auto auto auto auto;
2018-05-31 20:12:06 +02:00
}
#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;
2018-06-01 14:50:28 +02:00
grid-template-columns: var(--width-column-left) auto;
grid-template-rows: auto auto auto auto auto;
}
#logo {
grid-column: 1;
grid-row: 1 / span 2;
2018-06-01 14:50:28 +02:00
width: 3rem;
}
header {
grid-column: 2;
grid-row: 1;
}
nav {
grid-column: 1;
grid-row: 3;
overflow: hidden;
2018-06-01 14:50:28 +02:00
width: 3em;
}
nav:hover {
overflow: visible;
z-index: 1;
2018-06-01 14:50:28 +02:00
width: auto;
}
main {
grid-column: 2;
grid-row: 2 / span 3;
}
footer {
grid-column: 1 / span 2;
grid-row: 5;
text-align: left;
}
}
2018-05-31 20:12:06 +02:00
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 {
2018-06-01 14:50:28 +02:00
background-color: var(--color-accent-dark);
2018-05-31 20:12:06 +02:00
}
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 {
2018-06-01 14:50:28 +02:00
/* background-color: var(--color-accent-dark); */
2018-05-31 20:12:06 +02:00
color: #888;
}
nav {
2018-06-01 14:50:28 +02:00
background-color: var(--color-accent-light);
2018-05-31 20:12:06 +02:00
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;
2018-06-01 14:50:28 +02:00
background-color: var(--color-accent-light);
2018-05-31 20:12:06 +02:00
}
footer ul {
list-style-type: none;
padding-left: 1em;
}
p, h2, h3, dl {
max-width: 40rem;
padding-left: 0.5rem;
}
h2 {
2018-06-01 14:50:28 +02:00
border-top: solid 2px var(--color-accent-dark);
2018-05-31 20:12:06 +02:00
font-weight: normal;
font-size: 1.7rem;
}
h3 {
2018-06-01 14:50:28 +02:00
border-top: solid 1px var(--color-accent-light);
2018-05-31 20:12:06 +02:00
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;
}