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

370 lines
8.5 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, ../../../../../../../var/lib/gems/2.3.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, ../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
html {
line-height: 1;
}
/* line 24, ../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
ol, ul {
list-style: none;
}
/* line 26, ../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
table {
border-collapse: collapse;
border-spacing: 0;
}
/* line 28, ../../../../../../../var/lib/gems/2.3.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, ../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
q, blockquote {
quotes: none;
}
/* line 103, ../../../../../../../var/lib/gems/2.3.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, ../../../../../../../var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
a img {
border: none;
}
/* line 116, ../../../../../../../var/lib/gems/2.3.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: #fff9a4;
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: 30px;
margin: 30px auto;
}
/* line 86, ../sass/screen.scss */
header:after {
content: " ";
position: absolute;
width: 110%;
z-index: 1;
left: -5%;
bottom: 25px;
border-bottom: 3px solid #000;
}
}
/* line 98, ../sass/screen.scss */
.container {
margin: 0 auto;
max-width: 1200px;
width: 100%;
}
@media screen and (min-width: 600px) {
/* line 98, ../sass/screen.scss */
.container {
display: table;
display: flex;
padding: 15px;
}
}
/* line 109, ../sass/screen.scss */
.sidebar {
width: 400px;
padding-right: 40px;
}
/* line 113, ../sass/screen.scss */
.sidebar .minimenu {
display: none;
}
/* line 117, ../sass/screen.scss */
.sidebar ul.nav {
margin-bottom: 30px;
}
/* line 120, ../sass/screen.scss */
.sidebar ul.nav li {
display: block;
font-weight: normal;
margin: 7px 0;
}
/* line 125, ../sass/screen.scss */
.sidebar ul.nav li a {
border: 1px solid #8c0e00;
background: #fff;
color: #8c0e00;
padding: 10px 0;
display: block;
text-align: center;
}
@media screen and (min-width: 600px) {
/* line 125, ../sass/screen.scss */
.sidebar ul.nav li a {
box-shadow: -2px 2px 0 #f08f00;
transition: box-shadow 0.4s ease-out, transform 0.4s ease-out;
}
/* line 137, ../sass/screen.scss */
.sidebar ul.nav li a:hover {
box-shadow: -6px 6px 0 #f08f00;
transform: translateX(2px) translateY(-2px);
}
}
/* line 148, ../sass/screen.scss */
.main {
background: #fff;
flex-grow: 1;
padding: 20px;
width: 100%;
}
/* line 154, ../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 169, ../sass/screen.scss */
.main .last-publication a:hover {
box-shadow: 0 0 5px #8c0e00;
}
/* line 175, ../sass/screen.scss */
.publication-list {
margin: 10px 5px;
margin-left: 30px;
padding: 0 30px;
max-width: 700px;
}
/* line 181, ../sass/screen.scss */
.publication-list .publication-entry {
display: flex;
align-items: center;
position: relative;
border-bottom: 1px solid #86abcb;
}
/* line 187, ../sass/screen.scss */
.publication-list .publication-entry:first-child {
border-top: 1px solid #86abcb;
}
/* line 191, ../sass/screen.scss */
.publication-list .publication-entry > span {
padding: 7px 5px;
display: inline-block;
}
/* line 195, ../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 202, ../sass/screen.scss */
.publication-list .publication-entry .publication-descr {
font-size: 0.9em;
opacity: 0.9;
}
/* line 205, ../sass/screen.scss */
.publication-list .publication-entry .publication-descr:before {
content: " ";
}
/* line 209, ../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: 600px) {
/* line 221, ../sass/screen.scss */
.container {
margin-top: 60px;
}
/* line 224, ../sass/screen.scss */
header, .sidebar {
position: fixed;
top: 0;
min-height: 60px;
width: 100%;
}
/* line 230, ../sass/screen.scss */
header {
z-index: 15;
right: 60px;
height: 60px;
}
/* line 234, ../sass/screen.scss */
header img {
height: 55px;
}
/* line 238, ../sass/screen.scss */
.sidebar {
z-index: 14;
background: #fff9a4;
border-bottom: 3px solid #8c0e00;
padding: 4px;
padding-top: 55px;
max-height: 100vh;
overflow-y: auto;
}
/* line 247, ../sass/screen.scss */
.sidebar .minimenu {
position: absolute;
right: 5px;
top: 5px;
display: block;
}
/* line 252, ../sass/screen.scss */
.sidebar .minimenu img {
height: 50px;
}
/* line 256, ../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 264, ../sass/screen.scss */
.sidebar ul.nav li {
display: inline-block;
min-width: 150px;
margin: 5px;
}
/* line 268, ../sass/screen.scss */
.sidebar ul.nav li a {
padding: 10px;
}
/* line 275, ../sass/screen.scss */
.sidebar.collapse ul {
display: none;
}
}