site/src/css/main.css

135 lines
1.7 KiB
CSS

@font-face {
font-family: "Heroes";
src: url('../fonts/texgyreheros-regular.otf') format('truetype');
}
* {
font-family: Heroes;
font-size: 1em;
margin: 0;
padding: 0;
}
body {
margin-bottom: 42px;
}
header {
background-color: #519c60;
color: #ffffff;
padding: 30px 0px 1px 0px;
}
h1 {
font-size: 5em;
}
h2 {
font-size: 3em;
}
h3 {
font-size: 1.6em;
}
h4 {
font-size: 1.3em;
}
p {
font-size: 1.2em;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
ul {
margin-left: 42px;
}
li {
padding-top: 4px;
padding-bottom: 4px;
}
nav {
float: right;
}
.spacing {
margin-top: 1em;
}
.spacing2 {
margin-top: 3em;
}
header > .container > h1 {
margin: 10px 0px -27px 0px;
}
header > .container > .menu-item {
float: right;
}
header > .container > .menu-item > img {
vertical-align: -9px;
}
header > .container > .menu-item > a, header > .container > .menu-item > span {
font-size: 30px;
color: white;
text-decoration: none;
}
.container {
padding: 0px 40px 0px 40px;
}
.chapeau {
font-size: 1.8em;
font-weight: bold;
line-height: 1.2;
}
.service-box {
color: #000;
text-decoration: none;
border: 0.2em solid #000;
width: 250px;
text-align:center;
margin-right: 1em;
float: left;
}
.service-box:hover {
background-color: #000;
color: #fff;
}
.service-box h3 {
font-size: 1.15em;
}
.list > br {
clear: both;
}
.center {
text-align: center;
}
input {
border: 0.1em black solid;
width: 50%;
min-width: 300px;
font-size: 1.6em;
border: 0.1em black solid;
padding: 0.3em;
}
.button {
padding: 0.3em;
background-color: #519c60;
font-size: 1.6em;
border: 0.1em solid #519c60;
color: white;
margin: 0em 0em 0em 1em;
text-decoration: none;
}