phd-site/mainsite/scss/style.scss

235 lines
3.3 KiB
SCSS
Raw Normal View History

2024-11-13 12:19:06 +01: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;
2024-11-14 01:07:19 +01:00
@media (max-width: $resp_tiny) {
font-size:14px;
line-height:1.3;
}
2024-11-13 12:19:06 +01:00
}
header {
background-color: $head_bg_color;
display: flex;
flex-flow: row wrap;
justify-content: space-between;
align-items: center;
2024-11-14 01:07:19 +01:00
column-gap: 30px;
2024-11-13 12:19:06 +01:00
margin: 0;
2024-11-14 01:07:19 +01:00
margin-bottom: 20px;
2024-11-13 12:19:06 +01:00
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;
}
}
2024-11-14 01:07:19 +01:00
#messages {
display: flex;
justify-content: space-between;
.message {
max-width: $main_width;
flex-basis: $main_width;
border: 2px solid black;
border-radius: 8px;
padding: 5px 15px;
margin: 5px auto;
&.success {
background-color: #e1ffef;
border-color: #159953;
}
}
}
2024-11-13 12:19:06 +01:00
#content {
display: flex;
justify-content: space-between;
@media (max-width: $resp_vsmall) {
flex-wrap: wrap;
}
main {
2024-11-14 01:07:19 +01:00
margin: 10px auto;
padding: 0 30px;
max-width: $main_width;
flex-basis: $main_width;
@media (max-width: $resp_tiny) {
padding: 0 20px;
}
2024-11-13 12:19:06 +01:00
}
}
.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;
2024-11-14 01:07:19 +01:00
align-items: center;
2024-11-13 12:19:06 +01:00
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;
}
2024-11-14 01:07:19 +01:00
dt, dd {
padding: 5px 0;
}
2024-11-13 12:19:06 +01:00
}
.antispam {
unicode-bidi: bidi-override;
direction: rtl;
}
2024-11-13 18:23:23 +01:00
.tag_ligne {
display: inline;
width: 23px;
height: auto;
position: relative;
top: 5px;
}
2024-11-14 01:07:19 +01:00
input:focus {
outline: none;
}
form {
p.already_replied {
color: red;
}
div {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: center;
column-gap: 15px;
margin: 5px 0;
input[type=text] {
width: 100%;
padding: 5px;
border: 2px solid #ccc;
border-radius: 5px;
&:focus {
border-color: $active_color;
background-color: $active_color_bg;
}
}
}
input[type=submit] {
margin-top: 10px;
padding: 5px 15px;
background: #ccc;
border: 0 none;
border-radius: 5px;
cursor: pointer;
width: 100%;
font-size: 1.1em;
&:focus, &:hover {
background-color: $active_color;
}
&:active {
background-color: darken($active_color, 15%);
}
}
}