www-bocal/mainsite/static/css/screen.css

443 lines
10 KiB
CSS
Raw Normal View History

2017-10-19 15:36:19 +02:00
@charset "UTF-8";
2017-10-15 21:48:26 +02:00
/* 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");
2017-10-27 11:30:30 +02:00
/* line 5, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
2017-10-15 21:48:26 +02:00
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;
}
2017-10-27 11:30:30 +02:00
/* line 22, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
2017-10-15 21:48:26 +02:00
html {
line-height: 1;
}
2017-10-27 11:30:30 +02:00
/* line 24, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
2017-10-15 21:48:26 +02:00
ol, ul {
list-style: none;
}
2017-10-27 11:30:30 +02:00
/* line 26, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
2017-10-15 21:48:26 +02:00
table {
border-collapse: collapse;
border-spacing: 0;
}
2017-10-27 11:30:30 +02:00
/* line 28, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
2017-10-15 21:48:26 +02:00
caption, th, td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
2017-10-27 11:30:30 +02:00
/* line 30, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
2017-10-15 21:48:26 +02:00
q, blockquote {
quotes: none;
}
2017-10-27 11:30:30 +02:00
/* line 103, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
2017-10-15 21:48:26 +02:00
q:before, q:after, blockquote:before, blockquote:after {
content: "";
content: none;
}
2017-10-27 11:30:30 +02:00
/* line 32, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
2017-10-15 21:48:26 +02:00
a img {
border: none;
}
2017-10-27 11:30:30 +02:00
/* line 116, ../../../../../.gem/ruby/2.4.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
2017-10-15 21:48:26 +02:00
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
display: block;
}
/* line 13, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
*, *:after, *:before {
box-sizing: border-box;
}
/* line 17, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
body, html {
2017-10-27 11:30:30 +02:00
background: #e6973e;
2017-10-15 21:48:26 +02:00
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 */
2017-10-15 21:48:26 +02:00
body.plain #main {
max-width: 500px;
position: absolute;
text-align: center;
top: 50%;
left: 50%;
transform: translateY(-50%) translateX(-50%);
2017-10-19 15:36:19 +02:00
background: #fff9a4;
2017-10-15 21:48:26 +02:00
padding: 25px;
}
/* line 38, ../sass/screen.scss */
2017-10-19 15:36:19 +02:00
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;
}
2017-10-15 21:48:26 +02:00
/* line 50, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
h1, h2, h3, h4 {
font-family: "Bitter", serif;
}
/* line 54, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
h2 {
font-size: 1.8em;
text-align: center;
2017-10-19 15:36:19 +02:00
border-bottom: 2px solid #000;
padding: 10px;
margin-bottom: 0.7em;
2017-10-15 21:48:26 +02:00
}
/* line 62, ../sass/screen.scss */
2017-11-02 15:49:42 +01:00
h3 {
font-size: 1.5em;
text-align: left;
padding: 15px;
margin-bottom: 0.4em;
}
/* line 69, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
strong, b {
font-weight: bold;
}
2017-11-02 15:49:42 +01:00
/* line 73, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
i, em {
font-style: italic;
}
2017-11-02 15:49:42 +01:00
/* line 77, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
a {
2017-10-19 15:36:19 +02:00
color: #8c0e00;
2017-10-15 21:48:26 +02:00
text-decoration: none;
font-weight: bold;
}
2017-11-02 15:49:42 +01:00
/* From http://adis.ca/entry/2011/pretty-code-block-in-css/ */
/* line 84, ../sass/screen.scss */
pre {
font-family: "Courier 10 Pitch", Courier, monospace;
font-size: 80%;
line-height: 140%;
white-space: pre;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -o-pre-wrap;
background-color: #f0f0f0;
padding: 10px;
}
/* From http://adis.ca/entry/2011/pretty-code-block-in-css/ */
/* line 97, ../sass/screen.scss */
code {
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
font-size: 80%;
line-height: 140%;
white-space: pre;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -o-pre-wrap;
background-color: #f0f0f0;
}
/* line 108, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
header {
2017-10-19 15:36:19 +02:00
max-width: 700px;
margin: 0 auto;
2017-10-15 21:48:26 +02:00
text-align: center;
}
@media screen and (min-width: 600px) {
2017-11-02 15:49:42 +01:00
/* line 108, ../sass/screen.scss */
header {
border-bottom: 3px solid #000;
position: relative;
2017-10-21 18:08:42 +02:00
padding-bottom: 15px;
margin: 30px auto;
2017-10-21 18:08:42 +02:00
margin-bottom: 55px;
}
2017-11-02 15:49:42 +01:00
/* line 119, ../sass/screen.scss */
header:after {
content: " ";
position: absolute;
2017-10-21 18:08:42 +02:00
width: 90%;
z-index: 1;
2017-10-21 18:08:42 +02:00
left: 5%;
bottom: -25px;
border-bottom: 3px solid #000;
}
2017-10-15 21:48:26 +02:00
}
2017-11-02 15:49:42 +01:00
/* line 131, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
.container {
2017-10-19 15:36:19 +02:00
margin: 0 auto;
max-width: 1200px;
2017-10-15 21:48:26 +02:00
width: 100%;
}
@media screen and (min-width: 600px) {
2017-11-02 15:49:42 +01:00
/* line 131, ../sass/screen.scss */
.container {
display: table;
display: flex;
padding: 15px;
}
}
2017-10-15 21:48:26 +02:00
2017-11-02 15:49:42 +01:00
/* line 142, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
.sidebar {
2017-10-19 15:36:19 +02:00
width: 400px;
padding-right: 40px;
2017-10-15 21:48:26 +02:00
}
2017-11-02 15:49:42 +01:00
/* line 146, ../sass/screen.scss */
.sidebar .minimenu {
display: none;
}
2017-11-02 15:49:42 +01:00
/* line 150, ../sass/screen.scss */
2017-10-19 15:36:19 +02:00
.sidebar ul.nav {
margin-bottom: 30px;
}
2017-11-02 15:49:42 +01:00
/* line 153, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
.sidebar ul.nav li {
display: block;
font-weight: normal;
2017-10-19 15:36:19 +02:00
margin: 7px 0;
2017-10-15 21:48:26 +02:00
}
2017-11-02 15:49:42 +01:00
/* line 158, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
.sidebar ul.nav li a {
2017-10-21 18:08:42 +02:00
border: 1px solid rgba(140, 14, 0, 0.5);
2017-10-19 15:36:19 +02:00
background: #fff;
color: #8c0e00;
2017-10-15 21:48:26 +02:00
padding: 10px 0;
display: block;
text-align: center;
2017-10-19 15:36:19 +02:00
}
@media screen and (min-width: 600px) {
2017-11-02 15:49:42 +01:00
/* line 158, ../sass/screen.scss */
.sidebar ul.nav li a {
2017-10-27 11:30:30 +02:00
box-shadow: -2px 2px 0 #f06e00;
transition: box-shadow 0.4s ease-out, transform 0.4s ease-out;
}
2017-11-02 15:49:42 +01:00
/* line 170, ../sass/screen.scss */
.sidebar ul.nav li a:hover {
2017-10-27 11:30:30 +02:00
box-shadow: -6px 6px 0 #f06e00;
transform: translateX(2px) translateY(-2px);
}
2017-10-15 21:48:26 +02:00
}
2017-11-02 15:49:42 +01:00
/* line 181, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
.main {
2017-10-19 15:36:19 +02:00
background: #fff;
2017-10-15 21:48:26 +02:00
flex-grow: 1;
padding: 20px 40px;
2017-10-15 21:48:26 +02:00
width: 100%;
2017-10-21 18:08:42 +02:00
border: 1px solid rgba(140, 14, 0, 0.7);
2017-10-15 21:48:26 +02:00
}
2017-11-02 15:49:42 +01:00
/* line 188, ../sass/screen.scss */
2017-10-19 15:36:19 +02:00
.main .last-publication a {
2017-10-15 21:48:26 +02:00
display: block;
2017-10-19 15:36:19 +02:00
max-width: 350px;
2017-10-15 21:48:26 +02:00
margin: 15px auto;
2017-10-19 15:36:19 +02:00
margin-bottom: 30px;
padding: 30px;
border: 1px solid #fff;
2017-10-15 21:48:26 +02:00
text-align: center;
font-size: 1.5em;
2017-10-19 15:36:19 +02:00
background: #8c0e00;
color: #fff9a4;
font-family: "Bitter", serif;
box-shadow: 0 0 0 rgba(140, 14, 0, 0);
transition: box-shadow 1s ease-out;
}
2017-11-02 15:49:42 +01:00
/* line 203, ../sass/screen.scss */
2017-10-19 15:36:19 +02:00
.main .last-publication a:hover {
box-shadow: 0 0 5px #8c0e00;
2017-10-15 21:48:26 +02:00
}
2017-11-02 15:49:42 +01:00
/* line 208, ../sass/screen.scss */
.main .intro-text {
margin-bottom: 40px;
}
2017-11-02 15:49:42 +01:00
/* line 212, ../sass/screen.scss */
.main p {
2017-11-02 15:49:42 +01:00
margin: 0.5em 0;
}
2017-11-02 15:49:42 +01:00
/* line 216, ../sass/screen.scss */
.main .md-text {
text-align: justify;
font-size: 1.1em;
}
2017-11-02 15:49:42 +01:00
/* line 221, ../sass/screen.scss */
.main ol, .main ul {
list-style-position: outside;
margin-left: 20px;
margin-bottom: 1em;
}
2017-11-02 15:49:42 +01:00
/* line 226, ../sass/screen.scss */
.main ol {
list-style-type: decimal;
}
2017-11-02 15:49:42 +01:00
/* line 229, ../sass/screen.scss */
.main ul {
list-style-type: disc;
}
2017-11-02 15:49:42 +01:00
/* line 232, ../sass/screen.scss */
.main li {
margin: 0.35em 0;
}
2017-10-15 21:48:26 +02:00
2017-11-02 15:49:42 +01:00
/* line 237, ../sass/screen.scss */
2017-10-15 21:48:26 +02:00
.publication-list {
margin: 10px 5px;
margin-left: 30px;
2017-10-19 15:36:19 +02:00
padding: 0 30px;
max-width: 700px;
}
2017-11-02 15:49:42 +01:00
/* line 243, ../sass/screen.scss */
2017-10-19 15:36:19 +02:00
.publication-list .publication-entry {
display: flex;
align-items: center;
position: relative;
border-bottom: 1px solid #86abcb;
}
2017-11-02 15:49:42 +01:00
/* line 249, ../sass/screen.scss */
2017-10-19 15:36:19 +02:00
.publication-list .publication-entry:first-child {
border-top: 1px solid #86abcb;
2017-10-15 21:48:26 +02:00
}
2017-11-02 15:49:42 +01:00
/* line 253, ../sass/screen.scss */
2017-10-19 15:36:19 +02:00
.publication-list .publication-entry > span {
padding: 7px 5px;
display: inline-block;
2017-10-15 21:48:26 +02:00
}
2017-11-02 15:49:42 +01:00
/* line 257, ../sass/screen.scss */
2017-10-19 15:36:19 +02:00
.publication-list .publication-entry .publication-date {
2017-10-15 21:48:26 +02:00
text-align: right;
font-weight: light;
font-size: 0.8em;
2017-10-19 15:36:19 +02:00
font-style: italic;
width: 100px;
}
2017-11-02 15:49:42 +01:00
/* line 264, ../sass/screen.scss */
2017-10-19 15:36:19 +02:00
.publication-list .publication-entry .publication-descr {
font-size: 0.9em;
opacity: 0.9;
}
2017-11-02 15:49:42 +01:00
/* line 267, ../sass/screen.scss */
2017-10-19 15:36:19 +02:00
.publication-list .publication-entry .publication-descr:before {
content: " ";
}
2017-11-02 15:49:42 +01:00
/* line 271, ../sass/screen.scss */
2017-10-19 15:36:19 +02:00
.publication-list .publication-entry a.overlay {
position: absolute;
z-index: 1;
width: 100%;
height: 100%;
top: 0;
left: 0;
2017-10-15 21:48:26 +02:00
}
2017-10-19 23:14:07 +02:00
@media screen and (max-width: 599px) {
2017-11-02 15:49:42 +01:00
/* line 283, ../sass/screen.scss */
2017-10-19 23:14:07 +02:00
body {
padding-top: 75px;
}
2017-11-02 15:49:42 +01:00
/* line 286, ../sass/screen.scss */
header, .sidebar {
position: fixed;
top: 0;
min-height: 60px;
width: 100%;
}
2017-11-02 15:49:42 +01:00
/* line 292, ../sass/screen.scss */
header {
z-index: 15;
right: 60px;
2017-10-21 18:08:42 +02:00
left: 0;
width: unset;
height: 60px;
2017-10-21 18:08:42 +02:00
line-height: 60px;
}
2017-11-02 15:49:42 +01:00
/* line 299, ../sass/screen.scss */
header img {
2017-10-21 18:08:42 +02:00
max-height: 55px;
vertical-align: middle;
}
2017-11-02 15:49:42 +01:00
/* line 304, ../sass/screen.scss */
.sidebar {
z-index: 14;
2017-10-19 23:14:07 +02:00
background: #f8ef78;
border-bottom: 3px solid #8c0e00;
padding: 4px;
padding-top: 55px;
max-height: 100vh;
overflow-y: auto;
}
2017-11-02 15:49:42 +01:00
/* line 313, ../sass/screen.scss */
.sidebar .minimenu {
position: absolute;
right: 5px;
top: 5px;
display: block;
}
2017-11-02 15:49:42 +01:00
/* line 318, ../sass/screen.scss */
.sidebar .minimenu img {
height: 50px;
}
2017-11-02 15:49:42 +01:00
/* line 322, ../sass/screen.scss */
.sidebar ul.nav {
display: flex;
width: 100%;
flex-wrap: wrap;
justify-content: space-around;
font-size: 0.95em;
margin-bottom: 10px;
}
2017-11-02 15:49:42 +01:00
/* line 330, ../sass/screen.scss */
.sidebar ul.nav li {
display: inline-block;
min-width: 150px;
margin: 5px;
}
2017-11-02 15:49:42 +01:00
/* line 334, ../sass/screen.scss */
.sidebar ul.nav li a {
padding: 10px;
}
2017-11-02 15:49:42 +01:00
/* line 341, ../sass/screen.scss */
.sidebar.collapse ul {
display: none;
}
}