Skip to content
Permalink
48e450480a
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
329 lines (281 sloc) 4.57 KB
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
}
/* formats the red message boxes */
.msg {
border: 1px solid red;
font-weight: bold;
color: red;
padding: 1em;
margin: 2em;
}
header {
background-color: #ccc;
border-bottom: 5px solid grey;
height: 8vw;
}
h1, h2, h3 {
margin: 0;
padding: 0;
color: #444;
}
h1 {
padding: 2.6vw;
float: left;
font-size: 3vw;
margin-left: 6vw;
}
h2 {
font-size: 2.5vw;
margin: 1vw;
margin-left: 0.6vw;
}
h3 {
font-size: 2vw;
margin: 1vw;
margin-left: 0.6vw;
}
header > a {
margin-top: 3vw;
margin-right: 3vw;
float: right;
font-size: 1.3vw;
}
header > img {
width: 7vw;
border-radius: 50%;
position: absolute;
left: 0.5vw;
top: 0.5vw;
}
p, legend {
font-size: 1.5vw;
}
main {
width: 100%;
margin-left: 3vw;
/* background-color: pink; */
}
article {
width: 50vw;
/* background-color: grey;
float: left; */
}
aside {
/* background-color: yellow;
float: right; */
width: 50vw;
}
main a {
color: black;
text-decoration: underline;
}
main a:hover {
color: red;
text-decoration: none;
}
section {
background-color: #DDD;
width: 24vw;
margin-top: 1vw;
padding: 1vw;
border-radius: 1vw;
}
section > p {
margin: 0;
padding: 0;
margin-bottom: 0.5vw;
}
section > h3 {
margin: 0;
padding: 0;
font-size: 1.8vw;
}
small {
display: block;
text-align: right;
}
/* ===== FORMS ===== */
fieldset {
position: relative;
width: 25vw;
border: 1px solid #CCC;
padding-top: 4vw;
}
legend {
position:absolute;
top:0;
left:0;
width: 25.5vw;
background-color: #ccc;
border-bottom: 5px solid grey;
padding: 0.6vw;
}
input[type="file"] {
display: none;
}
input[type="submit"], header > a, .custom-file-upload {
background-color: grey;
border: 2px solid grey;
color: white;
padding: 0.4vw 0.8vw;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1.5vw;
/* border-radius: 0.6vw; */
}
input[type="submit"]:hover, header > a:hover, .custom-file-upload:hover {
color: grey;
background-color: white;
}
input[type="text"], input[type="email"], input[type="password"], textarea, select {
font-size: 1.5vw;
width: 25vw;
border: 1px solid #CCC;
padding: 0.5vw;
/* margin-bottom: 1vw; */
/* border-radius: 0.6vw; */
}
textarea {
height: 10vw;
resize: none;
}
select {
width: 26.3vw;
-webkit-appearance: none;
/*-webkit-border-radius: 0px;*/
}
form > br {
line-height: 3vw;
}
dl {
width: 35vw;
overflow: hidden;
/* background: #ff0; */
padding: 0;
margin: 0;
font-size: 1.5vw;
}
dt {
float: left;
width: 10.5vw;
/* adjust the width; make sure the total of both is 100% */
/* background: #cc0; */
padding: 0.5vw;
margin: 0
}
dd {
float: left;
width: 21vw;
/* adjust the width; make sure the total of both is 100% */
/* background: #dd0; */
padding: 0.5vw;
margin: 0
}
/* ===== TABLES ===== */
table {
/* border: 1px solid grey; */
border-collapse: collapse;
}
tr:nth-child(odd) {
background: #DDD;
}
td {
/* border: 1px solid grey; */
padding: 0.5vw;
font-size: 1.5vw;
width: 25vw;
}
td:last-child {
width: 10vw;
text-align: right;
}
/*Image centered*/
.imgcenter {
text-align: center;
}
.upper_left {
position: absolute;
top: 0;
left: 0;
}
.upper_right {
position: absolute;
top: 0;
right: 0%;
}
.lower_left {
position: absolute;
left: 20%;
bottom: 45%;
}
.lower_right {
right: 20%;
bottom: 15%;
position: absolute;
}
/*Puts any image on the left top corner, use div!!!!!*/
.gitcorner{
position: absolute;
top: 8px;
left: 16px;
font-size: 18px;
}
/*BackOffice lower right corner*/
.backlower {
position: fixed;
left: 0;
bottom: 0px;
right:16px;
font-size: 18px;
width: 100%;
text-align: right;
color: black;
background-color: #ccc;
border-top: 5px solid grey;
}
/*CCS for individual content*/
* {
box-sizing: border-box;
}
/* Style the header */
.header {
background-color: #f1f1f1;
padding: 30px;
text-align: center;
font-size: 35px;
}
/* Create three equal columns that floats next to each other */
.column {
float: left;
width: 33.33%;
padding: 10px;
height: 300px; /* Should be removed. Only for demonstration */
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Style the footer */
.footer {
background-color: #f1f1f1;
padding: 120px;
text-align: center;
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
.column {
width: 100%;
}
}
/*FOOTER*/
footer{
position: absolute;
bottom: 8px;
right: 16px;
font-size: 18px;
}