mirror of
https://github.com/ae-utbm/sith.git
synced 2024-10-06 06:58:05 +00:00
249 lines
4.1 KiB
CSS
249 lines
4.1 KiB
CSS
/*--------------------------------GENERAL------------------------------*/
|
|
body{
|
|
background-color:#EEE;
|
|
position: relative;
|
|
width: 100%;
|
|
font-family: sans-serif;
|
|
}
|
|
/*--------------------------------HEADER-------------------------------*/
|
|
#logo {
|
|
margin-left: 5%;
|
|
}
|
|
header {
|
|
display: block;
|
|
position: absolute;
|
|
top : 0px;
|
|
right : 8%;
|
|
left: 40%;
|
|
background-color:#DDD;
|
|
}
|
|
header a {
|
|
display: inline-block;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
padding: 1em;
|
|
}
|
|
header a:hover {
|
|
color: #2D3;
|
|
}
|
|
|
|
#popupheader {
|
|
width: 88%;
|
|
margin: 0px auto;
|
|
padding: 0.3em 1%;
|
|
}
|
|
|
|
/*---------------------------------NAV---------------------------------*/
|
|
nav {
|
|
display: block;
|
|
width: 90%;
|
|
margin: 0px auto;
|
|
background: grey;
|
|
color: white;
|
|
}
|
|
|
|
nav a {
|
|
color: white;
|
|
font-style: normal;
|
|
font-weight: bolder;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
padding: 20px;
|
|
}
|
|
nav a:hover {
|
|
background: purple;
|
|
}
|
|
|
|
/*--------------------------------CONTENT------------------------------*/
|
|
#content {
|
|
width: 88%;
|
|
margin: 0px auto;
|
|
padding: 1em 1%;
|
|
background: white;
|
|
overflow: auto;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-weight: bold;
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 160%;
|
|
margin-left: 50px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 150%;
|
|
margin-left: 40px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 140%;
|
|
margin-left: 30px;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 130%;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
h5 {
|
|
font-size: 120%;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
h6 {
|
|
font-size: 110%;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
p, pre {
|
|
margin-top: 1em;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
ul, ol {
|
|
margin-top: 1em;
|
|
margin-bottom: 1em;
|
|
list-style-type: disc;
|
|
margin-left: 25px;
|
|
}
|
|
|
|
.edit-bar {
|
|
display: block;
|
|
margin: 4px;
|
|
}
|
|
.edit-bar a {
|
|
display: inline-block;
|
|
margin: 4px;
|
|
}
|
|
table {
|
|
width: 100%;
|
|
font-size: 0.90em;
|
|
}
|
|
td {
|
|
padding: 4px;
|
|
border: solid 1px black;
|
|
border-collapse: collapse;
|
|
vertical-align: top;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 0;
|
|
}
|
|
td>ul {
|
|
margin-top: 0px;
|
|
}
|
|
thead {
|
|
font-weight: bold;
|
|
}
|
|
tbody>tr:nth-child(even) {
|
|
background: lightgrey;
|
|
}
|
|
tbody>tr:hover {
|
|
background: yellow;
|
|
width: 100%;
|
|
}
|
|
.tool-bar {
|
|
overflow: auto;
|
|
}
|
|
.tools {
|
|
float: right;
|
|
}
|
|
#basket {
|
|
width: 40%;
|
|
background: lightgrey;
|
|
float: right;
|
|
padding: 10px;
|
|
}
|
|
#user_info {
|
|
width: 40%;
|
|
margin: 0px auto;
|
|
background: lightgrey;
|
|
}
|
|
|
|
/*-----------------------------USER PROFILE----------------------------*/
|
|
#user_profile {
|
|
width: 80%;
|
|
margin: 0px auto;
|
|
padding: 10px;
|
|
overflow: auto;
|
|
}
|
|
#user_profile h4 { border-bottom: 1px solid grey; max-width: 60%; }
|
|
#user_profile #pictures {
|
|
width: 30%;
|
|
float: right;
|
|
font-style: italic;
|
|
}
|
|
#user_profile #nickname {
|
|
font-style: italic;
|
|
}
|
|
#user_profile #pictures img {
|
|
max-width: 96%;
|
|
max-height: 96%;
|
|
}
|
|
#user_profile .promo_pict {
|
|
height: 45px;
|
|
}
|
|
/*---------------------------------PAGE--------------------------------*/
|
|
.page_content {
|
|
display: block;
|
|
margin: 10px;
|
|
padding: 10px;
|
|
background: white;
|
|
}
|
|
|
|
.page_content code {
|
|
font-family: monospace;
|
|
color: white;
|
|
background: black;
|
|
display: inline-block;
|
|
padding: 4px;
|
|
line-height: 120%;
|
|
}
|
|
textarea {
|
|
white-space: pre;
|
|
width: 98%;
|
|
margin-top: 10px;
|
|
}
|
|
/*---------------------------LAUNDERETTE-------------------------------*/
|
|
#token_form label {
|
|
display: inline;
|
|
}
|
|
|
|
/*--------------------------------FOOTER-------------------------------*/
|
|
footer{
|
|
text-align: center;
|
|
}
|
|
|
|
/*--------------------------------MODALE-------------------------------*/
|
|
.choose_file_widget {
|
|
display: none;
|
|
}
|
|
.ui-dialog .ui-dialog-buttonpane {
|
|
bottom: 0px;
|
|
position: absolute;
|
|
width: 97%;
|
|
}
|
|
.form-wrapper {
|
|
display: inline-block;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #DDD;
|
|
opacity: 0.8;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
}
|
|
.form-wrapper>form {
|
|
display: inline-block;
|
|
position: absolute;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
left: 30%;
|
|
top: 40%;
|
|
background-color: white;
|
|
}
|