tobast.fr-hugo/static/css/style.css

149 lines
3.5 KiB
CSS
Raw Normal View History

2019-10-08 20:53:12 +02:00
@import url("fonts.css");
html {
background-color: #fcffe4; }
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: #060033;
display: flex;
justify-content: space-between;
align-items: center;
margin: 0;
padding: 30px 60px;
color: #fcffe4; }
#head .title {
font-size: 1.4em;
font-weight: bold; }
#head .whoami {
font-weight: bold; }
#head a, #head a:visited {
color: #fcffe4; }
#main-container {
display: flex;
justify-content: space-between; }
2019-10-10 17:36:33 +02:00
@media (max-width: 1000px) {
#main-container {
flex-wrap: wrap; } }
2019-10-08 20:53:12 +02:00
#main-container .tab-selector {
margin: 40px; }
#main-container .tab-selector ul {
list-style: none;
min-width: 200px;
padding: 0; }
#main-container .tab-selector ul li a {
display: block;
font-size: 1.2em;
padding: 10px 20px;
background-color: #060033;
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
color: #fcffe4; }
#main-container .tab-selector ul li a:hover {
margin-left: 10px; }
2019-10-10 19:30:34 +02:00
#main-container .tab-selector ul li.active {
margin-left: 20px; }
2019-10-08 20:53:12 +02:00
#main-container #content {
margin: 2em auto;
max-width: 800px;
2019-10-10 17:36:33 +02:00
padding: 1em;
flex-basis: 800px; }
2019-10-08 20:53:12 +02:00
#main-container .profilepic {
2019-10-10 17:36:33 +02:00
flex: 0 0 auto;
margin: 40px;
2019-10-08 20:53:12 +02:00
max-width: 350px;
2019-10-10 17:36:33 +02:00
height: auto; }
2019-10-10 23:18:14 +02:00
@media (max-width: 1350px) {
2019-10-10 17:36:33 +02:00
#main-container .profilepic {
max-width: 180px; } }
@media (max-width: 1000px) {
#main-container .profilepic {
flex-shrink: 2;
max-width: 250px;
order: -1; } }
#main-container .profilepic img {
margin: auto;
max-height: 100%;
2019-10-10 19:30:34 +02:00
max-width: 100%;
border-radius: 20px; }
2019-10-10 17:36:33 +02:00
@media (max-width: 1000px) {
#main-container .profilepic img {
border-radius: 50%; } }
2019-10-08 20:53:12 +02:00
.items {
display: grid;
grid-template-columns: 100px auto; }
.items .head {
grid-column: 1/span 1;
font-weight: bold; }
a, a:visited {
color: #07a;
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
h2 .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; }
ul.docsline li {
display: inline-block; }
ul.docsline li a {
display: inline-block;
padding: 0 15px; }
dl {
list-style: none;
display: grid;
grid-template-columns: 1fr 3fr; }
dl dt {
grid-column: 1 / span 1;
justify-self: end;
text-align: right;
margin-right: 20px;
font-weight: bold; }
dl 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
2020-06-19 16:55:43 +02:00
ul.publications li, ul.talks li, ul.unpublished li {
2019-10-10 19:30:34 +02:00
list-style: circle; }
2020-06-19 16:55:43 +02:00
ul.publications li .authors, ul.talks li .authors, ul.unpublished li .authors {
2019-10-10 19:30:34 +02:00
font-style: italic; }
2020-06-19 16:55:43 +02:00
ul.publications li .authors .author:after, ul.talks li .authors .author:after, ul.unpublished li .authors .author:after {
content: ', '; }
ul.publications li .authors .author:last-child:after, ul.talks li .authors .author:last-child:after, ul.unpublished li .authors .author:last-child:after {
content: ''; }
ul.publications li .title, ul.talks li .title, ul.unpublished li .title {
2019-10-10 19:30:34 +02:00
font-weight: bold; }