314 lines
6.0 KiB
CSS
314 lines
6.0 KiB
CSS
@font-face {
|
|
font-family: Millimetre;
|
|
src: url(../webfonts/Light/Millimetre-Light_web.woff);
|
|
font-weight: lighter;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: Millimetre;
|
|
src: url(../webfonts/Regular/Millimetre-Regular_web.woff);
|
|
font-weight: regular;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: Millimetre;
|
|
src: url(../webfonts/Bold/Millimetre-Bold_web.woff);
|
|
font-weight: bold;
|
|
}
|
|
|
|
body
|
|
{margin: 0px;
|
|
overflow-x: hidden;
|
|
background-color: #8c599c;}
|
|
|
|
body,
|
|
a,
|
|
input
|
|
{font-family: Millimetre;
|
|
font-weight: regular;
|
|
color: rgba(255,255,255,1);
|
|
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.75);}
|
|
|
|
input, #headLinks a, #footLinks a, a.button,
|
|
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
|
|
{
|
|
text-decoration: none;
|
|
outline: none;
|
|
}
|
|
a:hover
|
|
{
|
|
color: rgba(0,0,0,0.66);
|
|
text-shadow: 0px 1px 0px rgba(255,255,255,0.75);
|
|
}
|
|
a.button:hover
|
|
{
|
|
color:white;
|
|
text-shadow:none;
|
|
}
|
|
|
|
header,
|
|
footer
|
|
{background-color: #FF8800;
|
|
border-bottom: 1px solid rgba(0,0,0,0.75);
|
|
box-shadow: 0px 0px 10px black;
|
|
font-size: 1.5em;
|
|
width: 100%;
|
|
height:100px;
|
|
margin-top: 1em;
|
|
transform: rotate(0.66deg);}
|
|
|
|
footer
|
|
{font-size: 1em;}
|
|
|
|
/*
|
|
header img
|
|
{max-height:80px;
|
|
margin-left:10px;
|
|
margin-top: 10px;
|
|
display: inline-block;}*/
|
|
|
|
header img
|
|
{
|
|
display:none;
|
|
}
|
|
header ul
|
|
{
|
|
width:100%;
|
|
}
|
|
|
|
header ul, footer ul
|
|
{list-style-type: none;
|
|
display: inline-block;
|
|
float: right;
|
|
line-height: 50px;}
|
|
|
|
header ul li
|
|
{float: right;
|
|
display: block;}
|
|
|
|
footer ul li
|
|
{margin-top: 10px;
|
|
display:inline-block;}
|
|
|
|
footer ul
|
|
{width: 100%;}
|
|
|
|
header ul li::after,
|
|
footer ul li::after
|
|
{width: 1px;
|
|
height: 80px;
|
|
display: block;
|
|
float: right;
|
|
content: '';
|
|
margin-left: 1em;
|
|
margin-top: -20px;
|
|
background: linear-gradient(to top, rgba(255,255,255,0.25), rgba(255,255,255,0.0));}
|
|
|
|
header ul li::before,
|
|
footer ul li::before
|
|
{width: 1px;
|
|
height: 80px;
|
|
display: block;
|
|
float: right;
|
|
content: '';
|
|
margin-top: -20px;
|
|
margin-right: 1em;
|
|
background: linear-gradient(to top, rgba(0,0,0,0.25), rgba(0,0,0,0.0));}
|
|
|
|
header ul li:first-child::after,
|
|
footer ul li:last-child::after
|
|
{display: none;}
|
|
|
|
header ul li:first-child::before,
|
|
footer ul li:last-child::before
|
|
{display: none;}
|
|
|
|
header ul li:first-child,
|
|
footer ul li:first-child
|
|
{margin-right: 1em;}
|
|
|
|
footer
|
|
{transform: rotate(-0.66deg);
|
|
clear: both;
|
|
text-align: center;}
|
|
|
|
fieldset
|
|
{border: 0px;
|
|
text-align: left;}
|
|
|
|
.needJS
|
|
{
|
|
display: none;
|
|
}
|
|
|
|
label
|
|
{width: 50%;}
|
|
|
|
.engraved
|
|
{
|
|
color: white;
|
|
text-shadow: 0px -1px 0px rgba(0, 0, 0, 1);
|
|
font-family: verdana;
|
|
}
|
|
|
|
.framed
|
|
{border: 1px solid rgba(0, 0, 0, 0.33);
|
|
border-radius: 5px;
|
|
box-shadow: 0px 1px 0px rgba(255,255,255,0.5), inset 0px 1px 0px rgba(255,255,255,0.33);
|
|
display: inline-block;
|
|
margin: 1em;}
|
|
|
|
.cardboard
|
|
{
|
|
background-opacity: 0.75;
|
|
background-image: url('../img/background-texture.png');
|
|
}
|
|
|
|
#explanations
|
|
{
|
|
padding: 0.7em;
|
|
}
|
|
|
|
#explanations p
|
|
{
|
|
margin:1.3em;
|
|
text-align:left;
|
|
}
|
|
|
|
|
|
/* This allow the motion of the button while overing without displacing the content of the page */
|
|
.input_wrapper
|
|
{
|
|
height: 40px;
|
|
display: inline-block;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
input[type=submit], input[type=text], input[type=email], input[type=password], .button
|
|
{
|
|
background-color: #8c599c;
|
|
padding: 10px;
|
|
border: 0px;
|
|
border-radius: 3px;
|
|
margin-top:-10px;
|
|
color: white;
|
|
font-family: sans;
|
|
font-weight: bold;
|
|
font-size: 0.6em;
|
|
position: relative;
|
|
transition: 0.125s ease all;
|
|
margin-top: 0px;
|
|
box-shadow: inset 0px 1px 0px rgba(255,255,255,0.66), inset 0px -1px 0px rgba(0, 0, 0,0.66), 0px 3px 8px rgba(0,0,0,0.66);
|
|
}
|
|
|
|
input[type=submit]:hover,
|
|
.button:hover
|
|
{margin-top: 2px;
|
|
box-shadow: inset 0px 1px 0px rgba(255,255,255,0.66), inset 0px -1px 0px rgba(0, 0, 0,0.66), 0px 0px 5px rgba(0,0,0,0.66);}
|
|
|
|
input[type=text], input[type=password], input[type=email] {
|
|
box-shadow: inset 0px 1px 0px rgba(0,0,0,0.66), inset 0px -1px 0px rgba(255,255,255,0.66), inset 0px 3px 8px rgba(0,0,0,0.66);}
|
|
|
|
input[type=checkbox]
|
|
{width:15px;
|
|
height:15px;
|
|
margin-left: 0px;
|
|
margin-right: -15px;
|
|
opacity:0.0;}
|
|
|
|
/* The following is a trick to force browser to let me redefine checkbox style */
|
|
.checkbox_override
|
|
{width: 15px;
|
|
height: 15px;
|
|
border-radius: 2px;
|
|
box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.5);
|
|
background-color: rgba(0, 0, 0, 0.25);
|
|
border-top: 1px solid rgba(0,0,0,0.75);
|
|
border-bottom: 1px solid rgba(255,255,255,0.5);
|
|
display: inline-block;}
|
|
|
|
input:hover ~ .checkbox_override
|
|
{background-color: rgba(0, 0, 0, 0.125);}
|
|
|
|
input:checked ~ .checkbox_override {
|
|
border-bottom: 1px solid rgba(0,0,0,0.75);
|
|
border-top: 1px solid rgba(255,255,255,0.5);
|
|
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
|
|
background-color: rgba(255, 255, 255, 0.25);
|
|
}
|
|
|
|
::placeholder
|
|
{
|
|
color:#c6b4cb;
|
|
}
|
|
|
|
|
|
/*#ERROR:target, #SUCCESS:target, #INFO:target,*/
|
|
p.error, p.success, p.info,
|
|
div.error, div.success, div.info
|
|
{
|
|
width: calc(100% - 20px);
|
|
height: auto;
|
|
padding: 1em;
|
|
opacity: 1;
|
|
margin-left: 0px;
|
|
line-height: 1.25em;
|
|
background-image: url('../img/background-texture.png');
|
|
}
|
|
|
|
.info {background-color: #8c599c;}
|
|
.success {background-color: #00c684;}
|
|
.error {background-color: red;}
|
|
|
|
@media screen and (max-width: 570px) {
|
|
header ul
|
|
{line-height: 66px;}
|
|
|
|
header
|
|
{font-size: 1em;}
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
footer
|
|
{font-size: 0.7em;}
|
|
|
|
header ul li::after,
|
|
footer ul li::after
|
|
{display: none;}
|
|
|
|
header ul li,
|
|
footer ul li
|
|
{display: inline-block;
|
|
margin-left: 0.2em;
|
|
margin-right: 0.2em;}
|
|
|
|
header ul li::before,
|
|
footer ul li::before
|
|
{display: none;}
|
|
|
|
header
|
|
{
|
|
height:60px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 400px) {
|
|
header
|
|
{font-size: 0.75em;}
|
|
|
|
footer ul
|
|
{line-height: 25px;}
|
|
|
|
header ul
|
|
{line-height: 75px;}
|
|
}
|
|
|
|
#zerozozio
|
|
{
|
|
margin:1em;
|
|
text-align:right;
|
|
}
|
|
#zerozozio a, span
|
|
{
|
|
padding:0 0.3em;
|
|
} |