phd-site/mainsite/scss/style.scss
2024-11-13 12:19:06 +01:00

141 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;
}
header {
background-color: $head_bg_color;
display: flex;
flex-flow: row wrap;
justify-content: space-between;
align-items: center;
margin: 0;
padding: 30px 60px;
color: $bg_color;
@media (max-width: $resp_vsmall) {
padding: 20px;
}
.title, .whoami {
font-size: 1.4em;
font-weight: bold;
}
a, a:visited {
color: $bg_color;
}
}
#content {
display: flex;
justify-content: space-between;
@media (max-width: $resp_vsmall) {
flex-wrap: wrap;
}
main {
margin:2em auto;
max-width:800px;
padding:1em;
flex-basis: 800px;
}
}
.items {
display: grid;
grid-template-columns: 100px auto;
.head {
grid-column: 1/span 1;
font-weight: bold;
}
}
.phdtitle {
font-size: 1.1em;
text-align: center;
font-weight: bold;
}
a, a:visited {
color: $link_color;
text-decoration:none;
}
.fa {
color:#555
}
h1 {
margin-left:-10px;
}
h2 {
margin-top: 30px;
margin-left:20px;
.fa {
margin-right: 10px;
}
}
#whoami {
text-align: right;
font-size: 1.2em;
font-style: italic;
}
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;
}