phd-site/mainsite/static/css/style.css
2024-11-14 01:07:19 +01:00

172 lines
3.3 KiB
CSS

@import url("fonts.css");
html {
background-color: white; }
body {
font-family: Open Sans,Arial;
color: #555;
font-size: 16px;
line-height: 1.4;
text-align: justify;
margin: 0;
padding: 0; }
@media (max-width: 440px) {
body {
font-size: 14px;
line-height: 1.3; } }
header {
background-color: #060033;
display: flex;
flex-flow: row wrap;
justify-content: space-between;
align-items: center;
column-gap: 30px;
margin: 0;
margin-bottom: 20px;
padding: 30px 60px;
color: white; }
@media (max-width: 1000px) {
header {
padding: 20px; } }
header .title, header .whoami {
font-size: 1.4em;
font-weight: bold; }
header a, header a:visited {
color: white; }
#messages {
display: flex;
justify-content: space-between; }
#messages .message {
max-width: 800px;
flex-basis: 800px;
border: 2px solid black;
border-radius: 8px;
padding: 5px 15px;
margin: 5px auto; }
#messages .message.success {
background-color: #e1ffef;
border-color: #159953; }
#content {
display: flex;
justify-content: space-between; }
@media (max-width: 1000px) {
#content {
flex-wrap: wrap; } }
#content main {
margin: 10px auto;
padding: 0 30px;
max-width: 800px;
flex-basis: 800px; }
@media (max-width: 440px) {
#content main {
padding: 0 20px; } }
.items {
display: grid;
grid-template-columns: 100px auto; }
.items .head {
grid-column: 1/span 1;
font-weight: bold; }
.phdtitle {
font-size: 1.1em;
text-align: center;
font-weight: bold; }
a, a:visited {
color: #07a;
text-decoration: none; }
.fa {
color: #555; }
h1 {
margin-left: -10px; }
h2 {
margin-top: 30px;
margin-left: 20px; }
h2 .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; }
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;
align-items: center; }
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; }
dl dt, dl dd {
padding: 5px 0; }
.antispam {
unicode-bidi: bidi-override;
direction: rtl; }
.tag_ligne {
display: inline;
width: 23px;
height: auto;
position: relative;
top: 5px; }
input:focus {
outline: none; }
form p.already_replied {
color: red; }
form div {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: center;
column-gap: 15px;
margin: 5px 0; }
form div input[type=text] {
width: 100%;
padding: 5px;
border: 2px solid #ccc;
border-radius: 5px; }
form div input[type=text]:focus {
border-color: #9593c6;
background-color: #9593c616; }
form 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; }
form input[type=submit]:focus, form input[type=submit]:hover {
background-color: #9593c6; }
form input[type=submit]:active {
background-color: #6461ac; }