website/public/stylesheets/style.css
2018-10-03 00:17:26 +02:00

281 lines
4.2 KiB
CSS

/********************* From Cover template ***********************/
/*
* Globals
*/
/* Links */
a,
a:focus,
a:hover {
color: #fff;
}
/* Custom default button */
/*
* Base structure
*/
body {
color: #fff;
text-align: center;
text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
width: 100%;
height: 100%; /* For at least Firefox */
min-height: 100%;
-webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
box-shadow: inset 0 0 100px rgba(0,0,0,.5);
}
section {
margin: 0;
min-height: 100vh;
position: relative;
}
.cover-container {
max-width: 940px;
margin: auto;
}
/* Padding for spacing */
.inner {
padding: 15px 30px;
}
/*
* Header
*/
.masthead-brand {
margin-top: 10px;
margin-bottom: 10px;
}
.masthead-nav > li {
display: inline-block;
}
.masthead-nav > li + li {
margin-left: 20px;
}
.masthead-nav > li > a {
padding-right: 0;
padding-left: 0;
font-size: 16px;
font-weight: bold;
color: #fff; /* IE8 proofing */
color: rgba(255,255,255,.75);
border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
background-color: transparent;
border-bottom-color: #a9a9a9;
border-bottom-color: rgba(255,255,255,.25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
color: #fff;
border-bottom-color: #fff;
}
.masthead-brand {
float: left;
}
.masthead-nav {
float: right;
}
/*
* Cover
*/
/*
* Footer
*/
.mastfoot {
color: #999; /* IE8 proofing */
color: rgba(255,255,255,.5);
}
/*
* Affix and center
*/
/* Pull out the header and footer */
.masthead {
position: fixed;
top: 0;
}
/* Handle the widths */
@media (min-width: 700px) {
.masthead,
.mastfoot,
.cover-container {
width: 700px;
}
}
/************* Custom **************/
/*
*
* Polices
*
*/
@font-face {
font-family: "Jura";
src: url(../fonts/jura1/Jura-DemiBold.otf) format("opentype");
font-weight: 600;
}
@font-face {
font-family: "Jura";
src: url(../fonts/jura1/Jura-Regular.otf) format("opentype");
font-weight: 400;
}
@font-face {
font-family: 'Myra';
src: url(../fonts/Myra/Myra_4F_Caps_Regular-webfont.woff2) format('woff2'),
url(../fonts/Myra/Myra_4F_Caps_Regular-webfont.woff) format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Sofia';
src: url(../fonts/Sofia/sofiapro-light-webfont.woff2) format('woff2'),
url(../fonts/Sofia/sofiapro-light-webfont.woff) format('woff');
font-weight: normal;
font-style: normal;
}
/*
*
* Généralités
*
*/
body {
font-family: "Sofia", Arial, sans-serif;
font-size: 18px;
}
h1, h2, h3, h4, h5, h6 {
font-family: "Myra", Verdana, sans-serif;
}
.site-wrapper {
position: fixed;
width: 100%;
height: 100%;
overflow-y: scroll;
background: #333333 url(/img/fond2.png) fixed repeat
}
.btn-link {
color: #fff;
font-size: 1.1em;
font-weight: bold;
}
.glyphicon {
margin: 0 10px;
font-size: 2em;
top: 8px;
}
.card-body {
text-align: left;
line-height: 2;
}
.relief {
color: #0289ff;
}
/*
*
* Sections
*
*/
/* Fond noeud pap */
.bowtie {
position: fixed;
z-index: -1;
width: 50vw;
max-width: 700px;
height: 50vh;
top: 0;
bottom:0;
left: 0;
right: 0;
margin: auto;
background: transparent url(/img/bowtie.png) no-repeat scroll center center;
background-size: contain;
}
/* placement du texte au centre avec espace au centre */
.inner.cover,
.cover-container {
display: flex;
flex-flow: column nowrap;
flex-wrap: nowrap;
justify-content: center;
align-items: stretch;
}
/* Emplacement vide pour espace du noeud pap */
.hidden-bowtie {
width: 100%;
height: calc(0.5 * 50vw);
max-height: 350px;
flex: 0 0 auto;
}
/* Styles de police */
.cover-heading {
font-family: "Myra", sans-serif;
font-size: 5em;
}
.lead {
font-size: 2.2em;
}
.cover-container h2 {
font-weight: bold;
}
/* Home */