www-bocal/mainsite/static/css/screen.css
2017-11-02 13:32:43 +01:00

389 lines
8.8 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@charset "UTF-8";
/* Welcome to Compass.
* In this file you should write your main styles. (or centralize your imports)
* Import this file using the following HTML or equivalent:
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
@import url("https://fonts.googleapis.com/css?family=Bitter:400,700|Source+Sans+Pro:400,700");
/* line 5, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font: inherit;
font-size: 100%;
vertical-align: baseline;
}
/* line 22, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
html {
line-height: 1;
}
/* line 24, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
ol, ul {
list-style: none;
}
/* line 26, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
table {
border-collapse: collapse;
border-spacing: 0;
}
/* line 28, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
caption, th, td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
/* line 30, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
q, blockquote {
quotes: none;
}
/* line 103, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
q:before, q:after, blockquote:before, blockquote:after {
content: "";
content: none;
}
/* line 32, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
a img {
border: none;
}
/* line 116, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
display: block;
}
/* line 13, ../sass/screen.scss */
*, *:after, *:before {
box-sizing: border-box;
}
/* line 17, ../sass/screen.scss */
body, html {
background: #e6973e;
padding: 0;
margin: 0;
height: 100%;
font-family: "Source Sans Pro", sans-serif;
font-size: 18px;
line-height: 1.45;
}
/* line 28, ../sass/screen.scss */
body.plain #main {
max-width: 500px;
position: absolute;
text-align: center;
top: 50%;
left: 50%;
transform: translateY(-50%) translateX(-50%);
background: #fff9a4;
padding: 25px;
}
/* line 38, ../sass/screen.scss */
body.plain #main button {
background: #8c0e00;
color: #fff9a4;
display: inline-block;
padding: 30px;
font: 25px "Source Sans Pro", sans-serif;
font-weight: bold;
border: 1px solid #fff;
}
/* line 50, ../sass/screen.scss */
h1, h2, h3, h4 {
font-family: "Bitter", serif;
}
/* line 54, ../sass/screen.scss */
h2 {
font-size: 1.8em;
text-align: center;
border-bottom: 2px solid #000;
padding: 10px;
margin-bottom: 0.7em;
}
/* line 62, ../sass/screen.scss */
strong, b {
font-weight: bold;
}
/* line 66, ../sass/screen.scss */
i, em {
font-style: italic;
}
/* line 70, ../sass/screen.scss */
a {
color: #8c0e00;
text-decoration: none;
font-weight: bold;
}
/* line 76, ../sass/screen.scss */
header {
max-width: 700px;
margin: 0 auto;
text-align: center;
}
@media screen and (min-width: 600px) {
/* line 76, ../sass/screen.scss */
header {
border-bottom: 3px solid #000;
position: relative;
padding-bottom: 15px;
margin: 30px auto;
margin-bottom: 55px;
}
/* line 87, ../sass/screen.scss */
header:after {
content: " ";
position: absolute;
width: 90%;
z-index: 1;
left: 5%;
bottom: -25px;
border-bottom: 3px solid #000;
}
}
/* line 99, ../sass/screen.scss */
.container {
margin: 0 auto;
max-width: 1200px;
width: 100%;
}
@media screen and (min-width: 600px) {
/* line 99, ../sass/screen.scss */
.container {
display: table;
display: flex;
padding: 15px;
}
}
/* line 110, ../sass/screen.scss */
.sidebar {
width: 400px;
padding-right: 40px;
}
/* line 114, ../sass/screen.scss */
.sidebar .minimenu {
display: none;
}
/* line 118, ../sass/screen.scss */
.sidebar ul.nav {
margin-bottom: 30px;
}
/* line 121, ../sass/screen.scss */
.sidebar ul.nav li {
display: block;
font-weight: normal;
margin: 7px 0;
}
/* line 126, ../sass/screen.scss */
.sidebar ul.nav li a {
border: 1px solid rgba(140, 14, 0, 0.5);
background: #fff;
color: #8c0e00;
padding: 10px 0;
display: block;
text-align: center;
}
@media screen and (min-width: 600px) {
/* line 126, ../sass/screen.scss */
.sidebar ul.nav li a {
box-shadow: -2px 2px 0 #f06e00;
transition: box-shadow 0.4s ease-out, transform 0.4s ease-out;
}
/* line 138, ../sass/screen.scss */
.sidebar ul.nav li a:hover {
box-shadow: -6px 6px 0 #f06e00;
transform: translateX(2px) translateY(-2px);
}
}
/* line 149, ../sass/screen.scss */
.main {
background: #fff;
flex-grow: 1;
padding: 20px 40px;
width: 100%;
border: 1px solid rgba(140, 14, 0, 0.7);
}
/* line 156, ../sass/screen.scss */
.main .last-publication a {
display: block;
max-width: 350px;
margin: 15px auto;
margin-bottom: 30px;
padding: 30px;
border: 1px solid #fff;
text-align: center;
font-size: 1.5em;
background: #8c0e00;
color: #fff9a4;
font-family: "Bitter", serif;
box-shadow: 0 0 0 rgba(140, 14, 0, 0);
transition: box-shadow 1s ease-out;
}
/* line 171, ../sass/screen.scss */
.main .last-publication a:hover {
box-shadow: 0 0 5px #8c0e00;
}
/* line 176, ../sass/screen.scss */
.main .intro-text {
margin-bottom: 40px;
}
/* line 180, ../sass/screen.scss */
.main p {
margin-bottom: 1em;
}
/* line 184, ../sass/screen.scss */
.main .md-text {
text-align: justify;
font-size: 1.1em;
}
/* line 190, ../sass/screen.scss */
.publication-list {
margin: 10px 5px;
margin-left: 30px;
padding: 0 30px;
max-width: 700px;
}
/* line 196, ../sass/screen.scss */
.publication-list .publication-entry {
display: flex;
align-items: center;
position: relative;
border-bottom: 1px solid #86abcb;
}
/* line 202, ../sass/screen.scss */
.publication-list .publication-entry:first-child {
border-top: 1px solid #86abcb;
}
/* line 206, ../sass/screen.scss */
.publication-list .publication-entry > span {
padding: 7px 5px;
display: inline-block;
}
/* line 210, ../sass/screen.scss */
.publication-list .publication-entry .publication-date {
text-align: right;
font-weight: light;
font-size: 0.8em;
font-style: italic;
width: 100px;
}
/* line 217, ../sass/screen.scss */
.publication-list .publication-entry .publication-descr {
font-size: 0.9em;
opacity: 0.9;
}
/* line 220, ../sass/screen.scss */
.publication-list .publication-entry .publication-descr:before {
content: " ";
}
/* line 224, ../sass/screen.scss */
.publication-list .publication-entry a.overlay {
position: absolute;
z-index: 1;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
@media screen and (max-width: 599px) {
/* line 236, ../sass/screen.scss */
body {
padding-top: 75px;
}
/* line 239, ../sass/screen.scss */
header, .sidebar {
position: fixed;
top: 0;
min-height: 60px;
width: 100%;
}
/* line 245, ../sass/screen.scss */
header {
z-index: 15;
right: 60px;
left: 0;
width: unset;
height: 60px;
line-height: 60px;
}
/* line 252, ../sass/screen.scss */
header img {
max-height: 55px;
vertical-align: middle;
}
/* line 257, ../sass/screen.scss */
.sidebar {
z-index: 14;
background: #f8ef78;
border-bottom: 3px solid #8c0e00;
padding: 4px;
padding-top: 55px;
max-height: 100vh;
overflow-y: auto;
}
/* line 266, ../sass/screen.scss */
.sidebar .minimenu {
position: absolute;
right: 5px;
top: 5px;
display: block;
}
/* line 271, ../sass/screen.scss */
.sidebar .minimenu img {
height: 50px;
}
/* line 275, ../sass/screen.scss */
.sidebar ul.nav {
display: flex;
width: 100%;
flex-wrap: wrap;
justify-content: space-around;
font-size: 0.95em;
margin-bottom: 10px;
}
/* line 283, ../sass/screen.scss */
.sidebar ul.nav li {
display: inline-block;
min-width: 150px;
margin: 5px;
}
/* line 287, ../sass/screen.scss */
.sidebar ul.nav li a {
padding: 10px;
}
/* line 294, ../sass/screen.scss */
.sidebar.collapse ul {
display: none;
}
}