homepage/css/screen.scss

212 lines
6.7 KiB
SCSS
Raw Normal View History

2018-10-04 16:16:16 +02:00
---
---
2014-01-27 21:52:30 +01:00
$bg: #eee;
$text: #444;
$strong: #111;
$dim: #999;
$links: #55f;
$rule: #999;
2014-02-14 12:02:40 +01:00
$tr-rule: #ccc;
2014-04-10 09:57:08 +02:00
$highlight: #ccc;
2014-01-27 21:52:30 +01:00
$width: 800px;
2014-01-28 21:21:05 +01:00
$margin: 17px;
2021-12-20 15:43:54 +01:00
$in_width: $width - 2*$margin;
2014-01-28 17:21:55 +01:00
$small-width: 500px;
2014-01-27 21:52:30 +01:00
2018-10-04 16:16:16 +02:00
/* reset */
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
}
@font-face {
font-family:"OpenSans";
src:url('/css/fonts/OpenSans.woff') format('woff')
}
@font-face {
font-family:"OpenSansLight";
src:url('/css/fonts/OpenSans-Light.woff') format('woff')
}
@font-face {
font-family:"OpenSans";
src:url('/css/fonts/OpenSans-Italic.woff') format('woff');
font-style:italic
}
2014-01-27 21:52:30 +01:00
html, body { height: 100%; text-align: justify;
background-color: $bg; color: $text;
font-family: "OpenSans", sans;
line-height: 1.4em; }
2022-04-04 10:08:24 +02:00
a, summary { text-decoration: none; color: $links; }
a:hover, summary:hover { color: #009; }
2014-01-27 21:52:30 +01:00
2014-04-10 09:57:08 +02:00
strong { font-weight: bold; }
2022-01-05 16:10:25 +01:00
sup { vertical-align: super; font-size: x-small; }
sub { vertical-align: sub; font-size: x-small; }
2014-01-27 21:52:30 +01:00
hr { height: 1px; border: none; background-color: $rule; margin-top: 1em; }
2014-01-28 21:21:05 +01:00
section h1 { font-size: 150%; border-left: 4px solid $links;
2022-04-06 09:33:09 +02:00
padding-left: 11px; margin-left: -$margin; font-weight: bold; }
section h2 { border-left: 2px solid #afafff;
2014-01-28 21:21:05 +01:00
padding-left: 11px; margin-left: -$margin; }
2014-01-27 21:52:30 +01:00
section h2 { font-size: 120%; font-weight: bold; }
2014-05-12 15:21:35 +02:00
section h3 { font-size: 100%; font-weight: bold; }
2024-03-12 08:59:58 +01:00
section.subsection {
background-color: #fff;
padding: 5px 10px;
border-radius: 10px;
}
details { border-radius: 10px; padding: 5px 20px; margin-top: 0.5em; }
details { background-color: #f7f7f7; }
details[open] summary { margin-bottom: 1em; }
2022-04-06 09:33:09 +02:00
h1 {
padding: 0.2em 0 0.2em 0.5em;
margin: 1.0em 0 0.2em -0.5em; }
h2 {
padding: 0.2em 0 0.2em 0.5em;
margin: 0.8em 0 0.2em -0.5em; }
2014-01-27 21:52:30 +01:00
2022-04-06 09:33:09 +02:00
h3, h4, h5 {
padding: 0.2em 0 0.2em 0.3em;
margin: 0.2em 0 0.0em 0.3em; }
2022-03-16 15:12:59 +01:00
2014-01-27 21:52:30 +01:00
header { text-align: center; font-family: "OpenSansLight", sans;
line-height: 1.3em; font-weight: 400; font-size: 1.2em;
2014-01-28 08:43:25 +01:00
padding-top: 1em; }
2014-01-27 21:52:30 +01:00
header h1 { font-size: 1.5em; margin:0 0 0.3em 0; }
header a { color: $text; }
2022-01-27 10:13:15 +01:00
pre { background-color: white; padding: 0.5em; margin: 0.5em 0; }
code { font-family: mono;background-color: white;color: #333;padding-left: 0.3em; padding-right: 0.3em; }
2014-05-12 15:21:35 +02:00
2018-11-26 10:45:05 +01:00
code.language-ssh-key { word-wrap: break-word; word-break: break-all; white-space: pre-line; }
2021-12-20 15:43:54 +01:00
nav { text-align: center; font-size: 1.2em; margin: 1em 0; }
nav ul { display: flex; flex-flow: row wrap; list-style: none; justify-content: space-around; }
nav ul li { margin: 0; clear: both; padding: 0 10px 0 11px; }
2014-01-27 21:52:30 +01:00
footer { font-size: 75%; padding-bottom: 175px; }
2014-01-28 17:13:59 +01:00
em { font-style: italic; }
2014-01-27 21:52:30 +01:00
table { width: 100%; }
th, td { padding: 0.3em; }
2014-02-14 12:02:40 +01:00
tr { border-bottom: 1px dotted $tr-rule; }
2014-01-27 21:52:30 +01:00
2022-04-06 09:33:09 +02:00
table.bordered { border-collapse: collapse; margin: 1em 0; }
2022-01-31 13:10:21 +01:00
table.bordered tr { border-top: 1px solid #bbb; border-bottom: 1px solid #bbb; }
2022-04-06 09:33:09 +02:00
:target { color: #5151ff; background-color: yellow; }
.non_full { width: auto; }
2014-01-28 13:43:46 +01:00
.publi_table td:nth-child(1) { width: 30%; }
.publi_table td:nth-child(2) { width: 60%; }
.publi_table td:nth-child(3) { width: 10%; }
2014-09-24 13:04:09 +02:00
ul { list-style-image: url('/images/bullet_dark.png'); }
2014-04-10 09:57:08 +02:00
ul li { margin-left: 1em; }
ol { list-style-type: decimal; }
2014-09-25 10:54:04 +02:00
ol li { padding: 0.5em 10px 0.5em 0; }
ol li:nth-child(n+2) { border-top: 1px solid #ddd; }
2014-04-10 09:57:08 +02:00
ol li:hover { border-right: 3px solid $links; padding-right: 7px; }
2014-01-27 21:52:30 +01:00
ol.publication-list li { background: linear-gradient(0deg, rgba(2,0,36,0) 0%, #f4f4f4 100%); padding-left: 10px; }
2014-01-27 21:52:30 +01:00
.float-left { float: left; }
2018-10-04 16:16:16 +02:00
.right, .float-right { float: right; margin-left: 1em; }
2014-01-27 21:52:30 +01:00
.clear { clear: both; }
2021-12-20 15:43:54 +01:00
.switcher { text-align: center; font-size: 2em; margin: 0.5em 0; }
.switcher > a:hover { text-decoration: none; }
2014-01-27 21:52:30 +01:00
.credits { color: $dim; }
2014-03-21 19:54:44 +01:00
.centered_img { display: block; margin: 1em auto; }
2019-03-23 10:39:24 +01:00
.center { text-align: center; }
2014-01-28 21:21:05 +01:00
#wrapper { max-width: $in_width; margin: auto; }
2014-01-27 21:52:30 +01:00
#outter-wrapper { width: 100%; height: auto; min-height: 100%; position: relative; }
2014-09-30 21:28:12 +02:00
#foot_image { height: 150px; background: linear-gradient(to top, #FFFFFF 0%, #FFFFFF 50%, #EEEEEE 100%);
2014-09-06 19:27:35 +02:00
position: absolute; bottom: 0px; width: 100%; text-align: center; overflow: hidden; }
2014-09-30 21:27:31 +02:00
#clouds { background-image: url('../images/clouds.png'); height: 150px; width: 200%;
2014-09-06 19:27:35 +02:00
position: relative; top: -150px; margin-bottom: -150px; }
#foot_image:active #ski { visibility: visible; animation: ski 3s linear; }
#clouds:hover { animation: clouds 100s infinite linear; }
#ski { position: relative; visibility: hidden; top: -107px; left: -210px; }
2014-01-27 21:52:30 +01:00
2014-12-05 18:42:24 +01:00
#portrait { margin: 0 15px 15px 0; padding: 23px 0 18px 0; width: 150px; display: inline-block; vertical-align:middle; }
2014-05-19 14:22:58 +02:00
2021-12-20 15:43:54 +01:00
#info { display: flex; flex-flow: row wrap; width: 100%; justify-content: space-evenly; align-items: center; }
#info a { flex-basis: 160px; }
#resume { flex-basis: 450px; flex-grow: 2; }
2014-05-19 14:22:58 +02:00
2021-12-20 15:43:54 +01:00
#page_subtitle { font-family: "OpenSansLight",sans; font-size: 2em; margin: 1em; text-align: center; line-height: 1em; }
2019-03-22 12:33:22 +01:00
#main_email { padding: 0.5em; }
2014-10-17 09:34:34 +02:00
2014-10-19 20:47:03 +02:00
#http_code { text-align: center; font-size: 10em; line-height: 1em; }
2023-10-25 08:15:38 +02:00
#list_submitted { list-style-type: circle }
#list_accepted { list-style-type: circle }
#list_published { list-style-type: decimal }
2022-01-31 13:10:21 +01:00
.footnotes { font-size: 0.8em; padding-left: 1em; margin-top: 2em;}
.footnotes ol li { padding: 0; border: none; }
2022-02-01 09:58:15 +01:00
.cc-icon { height: 1em; vertical-align: middle; }
2014-01-28 17:21:55 +01:00
@media (max-width: $small-width) {
2014-01-28 21:21:05 +01:00
body { font-size: 80%; }
2014-01-28 17:21:55 +01:00
}
2014-01-27 21:52:30 +01:00
@media (max-width: $width) {
2021-12-20 15:43:54 +01:00
#outter-wrapper { width: 100%; }
header h1 { font-size: 1.2em; }
header { font-size: 1em; }
nav { font-size: 1.5em; line-height: 1.5em; }
body { padding: 0 $margin; }
#foot_image { display: none; }
footer { display: none; }
2014-01-27 21:52:30 +01:00
}
2014-09-06 19:27:35 +02:00
@keyframes clouds {
0% { transform: translate(0, 0); }
100% { transform: translate(-774px, 0); }
}
@keyframes ski {
0% { transform: translate(0, 0) rotate(0deg); }
10% { transform: translate(10px, 0) rotate(0deg); }
20% { transform: translate(10px, 8px) rotate(45deg); }
25% { transform: translate(25px, 16px) rotate(15deg); }
30% { transform: translate(55px, 32px) rotate(0deg); }
40% { transform: translate(90px, 20px) rotate(-20deg); }
50% { transform: translate(110px, 15px) rotate(-200deg); }
60% { transform: translate(130px, 35px) rotate(-380deg); }
68% { transform: translate(164px, 27px) rotate(-360deg); }
100% { transform: translate(300px, 66px) rotate(20deg); }
}