tobast.fr-hugo/scss/style.scss

140 lines
1.9 KiB
SCSS

// 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;
.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;
&:hover {
margin-left: 10px;
}
color: $bg_color;
}
}
}
}
#content {
margin:2em auto;
max-width:800px;
padding:1em;
ul {
list-style: none;
padding: 0;
li {
.head {
font-weight: bold;
padding-right: 42px;
}
}
}
ul.paperslist {
list-style: circle;
li {
.authors {
font-style: italic;
}
.title {
font-weight: bold;
}
.journal {
font-style: italic;
}
}
}
}
.profilepic {
max-width: $profile_pic_wid;
margin: 40px;
}
}
.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 {
margin-left:20px;
}
#whoami {
text-align: right;
font-size: 1.2em;
font-style: italic;
}