This repository has been archived on 2021-12-22. You can view files and clone it, but cannot push or open issues or pull requests.
rdelaage.ovh/static/css/style.css

218 lines
3.7 KiB
CSS
Raw Normal View History

2020-01-30 11:54:20 +01:00
*{
box-sizing: border-box;
margin: 0;
2020-01-30 17:47:26 +01:00
box-sizing: border-box;
2020-01-30 11:54:20 +01:00
}
html, body{
height: 100%;
2020-02-02 18:18:48 +01:00
font-family: sans-serif;
2020-01-30 11:54:20 +01:00
}
header{
background: #16a085;
color: #ecf0f1;
height: 100px;
text-align:center;
line-height: 100px;
}
2020-02-02 18:18:48 +01:00
header h1{
display: inline;
2020-02-02 18:45:44 +01:00
font-family: FantasqueSansMono, sans-serif;
2020-02-02 18:18:48 +01:00
font-size: 60px;
font-weight: normal;
vertical-align: middle;
}
header img{
2020-01-30 19:02:17 +01:00
height: 70px;
width: auto;
vertical-align: middle;
}
2020-01-30 11:54:20 +01:00
nav{
display: inline-block;
height: calc(100% - 150px);
width: 200px;
vertical-align:top;
2020-01-30 17:47:26 +01:00
background-color: #34495e;
color: #D0D0D0;
padding: 15px;
2020-07-25 13:34:29 +02:00
overflow-x: hidden;
overflow-y: auto;
2020-01-30 17:47:26 +01:00
}
nav ul{
list-style-type: none;
padding: 0;
2020-01-30 11:54:20 +01:00
}
section{
display: inline-block;
height: calc(100% - 150px);
width: calc(100% - 200px);
vertical-align:top;
2020-01-30 17:47:26 +01:00
background-color: #2c3e50;
vertical-align:middle;
color: #D0D0D0;
padding: 15px;
2020-01-30 20:44:44 +01:00
overflow: auto;
2020-01-30 11:54:20 +01:00
}
footer{
background-color: #16a085;
text-align : center;
height: 50px;
line-height: 50px;
color: #ecf0f1;
}
2020-01-30 19:02:17 +01:00
nav .logo img{
width: 50%;
height: auto;
2020-01-30 17:47:26 +01:00
}
#yellow:hover{
fill: #f6b93b;
}
#blue:hover{
fill: #1e3799;
}
#red:hover{
fill: #eb2f06;
}
nav li{
transition: 0.3s;
line-height: 1.5em;
2020-02-19 15:02:13 +01:00
margin: 10px;
2020-01-30 17:47:26 +01:00
}
nav li:hover{
background-color: rgba(255, 255, 255, 0.3);
}
2020-01-30 19:02:17 +01:00
.logo{
2020-01-30 17:47:26 +01:00
text-align: center;
}
2020-01-30 19:02:17 +01:00
section rect, section circle{
transition: 0.3s;
fill: #D0D0D0;
}
2020-01-30 17:47:26 +01:00
a{
color: #C0C0C0;
}
2020-01-30 22:07:29 +01:00
table{
border-collapse: separate;
border-spacing: 0;
}
2020-03-08 16:42:42 +01:00
iframe{
2020-03-08 16:45:40 +01:00
width: 100%;
height: 100%;
2020-03-08 16:42:42 +01:00
border: none;
background: rgba(255, 255, 255, 0.5);
}
2020-11-22 18:59:49 +01:00
section p, section ul, section ol{
margin-top: 10px;
margin-bottom: 10px;
}
section li{
margin-top: 5px;
margin-bottom: 5px;
}
section h1, section h2{
margin-top: 30px;
margin-bottom: 15px;
2020-07-25 13:34:29 +02:00
}
2020-11-28 17:18:24 +01:00
.infoblock{
background-color: #d9edf7;
color: #31708f;
padding-left: 40px;
padding-right: 40px;
padding-top: 20px;
padding-bottom: 20px;
border: solid #bce8f1 1px;
border-radius: 5px;
}
2020-02-19 15:02:13 +01:00
@media all and (min-width: 1100px){
2020-02-19 14:44:22 +01:00
td, th{
border: solid #C0C0C0 1px;
border-bottom: none;
border-right: none;
padding: 10px;
transition: 0.3s;
}
2020-07-25 13:34:29 +02:00
table tr:last-child td, table tr:last-child th{
2020-02-19 14:44:22 +01:00
border-bottom: solid #C0C0C0 1px;
}
2020-07-25 13:34:29 +02:00
table td:last-child, table th:last-child{
2020-02-19 14:44:22 +01:00
border-right: solid #C0C0C0 1px;
}
2020-07-25 13:34:29 +02:00
table tr:first-child td:first-child, table tr:first-child th:first-child{
2020-02-19 14:44:22 +01:00
border-radius: 15px 0 0 0;
}
2020-07-25 13:34:29 +02:00
table tr:first-child td:last-child, table tr:first-child th:last-child{
2020-02-19 14:44:22 +01:00
border-radius: 0 15px 0 0;
}
2020-07-25 13:34:29 +02:00
table tr:last-child td:last-child, table tr:last-child th:last-child{
2020-02-19 14:44:22 +01:00
border-radius: 0 0 15px 0;
}
2020-07-25 13:34:29 +02:00
table tr:last-child td:first-child, table tr:last-child th:first-child{
2020-02-19 14:44:22 +01:00
border-radius: 0 0 0 15px;
}
2020-07-25 13:34:29 +02:00
table tr:nth-child(2n) td, table tr:nth-child(2n) th{
2020-02-19 14:44:22 +01:00
background-color: rgba(255, 255, 255, 0.05);
}
tr:hover td, tr:hover th{
background-color: rgba(255, 255, 255, 0.2);
}
tr:hover td:hover, tr:hover th:hover{
background-color: rgba(255, 255, 255, 0.4);
}
section{
padding-left: 150px;
padding-right: 150px;
}
2020-02-19 14:44:22 +01:00
}
2020-02-19 15:02:13 +01:00
@media all and (max-width: 1100px){
*{
font-size: 40px;
}
2020-02-19 14:44:22 +01:00
header{
height: initial;
line-height: initial;
}
2020-02-19 15:02:13 +01:00
header h1{
font-size: 100px;
}
2020-02-19 14:44:22 +01:00
footer{
height: initial;
line-height: initial;
}
nav{
width: 100%;
height: initial;
2020-02-19 15:02:13 +01:00
text-align: center;
2020-02-19 14:44:22 +01:00
}
nav .logo{
display: none;
}
section{
width: 100%;
height: initial;
}
2020-02-19 15:02:13 +01:00
section *{
margin: 5px;
}
2020-02-19 14:44:22 +01:00
table{
width: 100%;
}
td{
border: dashed #C0C0C0 1px;
}
th{
border: solid #C0C0C0 1px;
}
td, th{
display: block;
border-bottom: none;
text-align: center;
2020-02-19 15:02:13 +01:00
padding: 10px;
2020-02-19 14:44:22 +01:00
}
tr:last-child td:last-child, tr:last-child th:last-child{
border-bottom: solid #C0C0C0 1px;
border-radius: 0 0 15px 15px;
}
tr:first-child td:first-child, tr:first-child th:first-child{
border-radius: 15px 15px 0 0;
}
2020-01-30 22:07:29 +01:00
}