phd-site/mainsite/static/css/style.css

173 lines
3.3 KiB
CSS
Raw Normal View History

2024-11-13 12:19:06 +01:00
@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; }
2024-11-14 01:07:19 +01:00
@media (max-width: 440px) {
body {
font-size: 14px;
line-height: 1.3; } }
2024-11-13 12:19:06 +01:00
header {
background-color: #060033;
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: 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; }
2024-11-14 01:07:19 +01:00
#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; }
2024-11-13 12:19:06 +01:00
#content {
display: flex;
justify-content: space-between; }
@media (max-width: 1000px) {
#content {
flex-wrap: wrap; } }
#content main {
2024-11-14 01:07:19 +01:00
margin: 10px auto;
padding: 0 30px;
2024-11-13 12:19:06 +01:00
max-width: 800px;
flex-basis: 800px; }
2024-11-14 01:07:19 +01:00
@media (max-width: 440px) {
#content main {
padding: 0 20px; } }
2024-11-13 12:19:06 +01:00
.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;
2024-11-14 01:07:19 +01:00
grid-template-columns: 1fr 3fr;
align-items: center; }
2024-11-13 12:19:06 +01:00
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; }
2024-11-14 01:07:19 +01:00
dl dt, dl 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; }
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; }