tobast.fr-hugo/scss/style.scss

211 lines
3 KiB
SCSS
Raw Normal View History

2019-10-08 20:53:12 +02:00
// vim: tabstop=2 shiftwidth=2 expandtab
@import url('fonts.css');
@import 'params';
html {
background-color: $bg_color;
}
body {
font-family:Open Sans,Arial;
color:#555;
font-size:16px;
line-height:1.4;
text-align:justify;
margin: 0;
padding: 0;
}
#head {
background-color: $head_bg_color;
display: flex;
justify-content: space-between;
align-items: center;
margin: 0;
padding: 30px 60px;
color: $bg_color;
.title {
font-size: 1.4em;
font-weight: bold;
}
.whoami {
font-weight: bold;
}
a, a:visited {
color: $bg_color;
}
}
#main-container {
display: flex;
justify-content: space-between;
2019-10-10 17:36:33 +02:00
@media (max-width: $resp_vsmall) {
flex-wrap: wrap;
}
2019-10-08 20:53:12 +02:00
.tab-selector {
margin: 40px;
ul {
list-style: none;
min-width: 200px;
padding: 0;
li {
a {
display: block;
font-size: 1.2em;
padding: 10px 20px;
background-color: $head_bg_color;
margin: 2px 0;
2019-10-10 17:36:33 +02:00
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
2019-10-08 20:53:12 +02:00
&:hover {
margin-left: 10px;
}
color: $bg_color;
}
2019-10-10 19:30:34 +02:00
&.active {
margin-left: 20px;
}
2019-10-08 20:53:12 +02:00
}
}
}
#content {
margin:2em auto;
max-width:800px;
padding:1em;
2019-10-10 17:36:33 +02:00
flex-basis: 800px;
2019-10-08 20:53:12 +02:00
}
.profilepic {
2019-10-10 17:36:33 +02:00
flex: 0 0 auto;
2019-10-08 20:53:12 +02:00
margin: 40px;
2019-10-10 17:36:33 +02:00
max-width: $profile_pic_wid;
height: auto;
@media (max-width: $resp_small) {
max-width: $profile_pic_wid_small;
}
@media (max-width: $resp_vsmall) {
flex-shrink: 2;
max-width: $profile_pic_wid_vsmall;
order: -1;
}
img {
margin: auto;
max-height: 100%;
max-width: 100%;
2019-10-10 19:30:34 +02:00
border-radius: 20px;
2019-10-10 17:36:33 +02:00
@media (max-width: $resp_vsmall) {
border-radius: 50%;
}
}
2019-10-08 20:53:12 +02:00
}
}
.items {
display: grid;
grid-template-columns: 100px auto;
.head {
grid-column: 1/span 1;
font-weight: bold;
}
}
a, a:visited {
color: $link_color;
text-decoration:none;
}
.fa {
color:#555
}
h1 {
margin-left:-10px;
}
h2 {
2019-10-10 17:36:33 +02:00
margin-top: 30px;
2019-10-08 20:53:12 +02:00
margin-left:20px;
2019-10-10 17:36:33 +02:00
.fa {
margin-right: 10px;
}
2019-10-08 20:53:12 +02:00
}
#whoami {
text-align: right;
font-size: 1.2em;
font-style: italic;
}
2019-10-10 17:36:33 +02:00
ul.docsline {
list-style: none;
text-align: center;
margin-top: 30px;
font-size: 1.1em;
li {
display: inline-block;
a {
display: inline-block;
padding: 0 15px;
}
}
}
dl {
list-style: none;
display: grid;
grid-template-columns: 1fr 3fr;
dt {
grid-column: 1 / span 1;
justify-self: end;
text-align: right;
margin-right: 20px;
font-weight: bold;
}
dd {
margin-left: 20px;
justify-self: start;
text-align: left;
}
}
.antispam {
unicode-bidi: bidi-override;
direction: rtl;
}
2019-10-10 19:30:34 +02:00
ul.publications, ul.talks {
li {
list-style: circle;
.authors {
font-style: italic;
}
.title {
font-weight: bold;
}
.journal, .venue {
}
.date {
}
}
}