Skip to content
Snippets Groups Projects
index.scss 5.3 KiB
Newer Older
@charset "UTF-8";

@import '../../node_modules/include-media/dist/include-media';
@import '../../node_modules/normalize.css/normalize';

@import "variables";
/* Reset*/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
    line-height: 1;
    max-width: 1440px;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* XXXXXXXXXXXXXXXXXXXXXXXX FIN RESET XXXXXXXXXXXXXXXXXXXXX*/

/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXX GLOBAUX XXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/

/* variables*/

:root {
  --typo: calisto;
  --typo-btn: avenir;
  --bg-page: #f5f6fa;
  --bg-block:#FFFFFF;
  --marge-base: 4.5rem;
  --marge-base-750: 1rem;
  --bg-btn-base: #01AFCC;
}

/* technique */
@font-face {
  font-family: 'var(--typo)';
  src: url('../fonts/CALIST.eot'); /* IE9 Compat Modes */
  src: url('../fonts/CALIST.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/CALIST.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/CALIST.woff') format('woff'), /* Pretty Modern Browsers */
       url('../fonts/CALIST.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/CALIST.svg#svgFontName') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'var(--typo-btn)';
  src: url('../fonts/Avenir.eot'); /* IE9 Compat Modes */
  src: url('../fonts/Avenir.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/Avenir.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/Avenir.woff') format('woff'), /* Pretty Modern Browsers */
       url('../fonts/Avenir.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/Avenir.svg#svgFontName') format('svg'); /* Legacy iOS */
}

html{
	font-size: 62.5%; /* definition du rem 1rem=10px*/
	box-sizing: border-box; /* redefinition du modèle de boite*/
}

*,*:before,*:after{
	box-sizing: inherit;
}

img{
	max-width: 100%;
}

/* visuels */

body{
	font-family: "var(--typo)";
	background: var(--bg-page);
}

.flex{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.block_log{
	width: 33%;
	background: var(--bg-block);
	text-align: center;
	margin: 1rem;
	padding: var(--marge-base);
	-webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.13);
	-moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.13);
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.13);
}

.button_base{
	background-color: var(--bg-btn-base);
	color: var(--bg-block);
	text-transform: uppercase;
	font-size: 1.4rem;
	padding: 1.5rem 1.9rem 1.5rem 1.9rem;
	margin-bottom: 1rem;
	font-family: 'var(--typo-btn)';
	border: none;
	box-shadow: none;
	border-radius: 20px;
}

/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX MENTOR DASHBOARD XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/

[hidden] {
    display: none !important;
}

/* Style tab links */
.tablink {
    background-color: #555;
    color: white;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 17px;
    width: 33.33%;
}

.tablink:hover {
    background-color: #777;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
    display: none;
    padding: 100px 20px;
    margin-top: 75px;
    background-color: #888;
    height: 100%;
}

/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXX PAGE LOGO XXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/

.logo{
	text-align: center;
	margin: 10rem 0 var(--marge-base) 0;
	width: 100%;
}

#splash>h2{
	width: 50%;
	max-width: 47rem;
	margin: 0 25% var(--marge-base) 25%;
	font-size: 2.2rem;
	line-height: 1.4;
	text-align: center;
}

#splash-index .block_log{
	max-width: 30rem;
	margin-bottom: var(--marge-base);
}

.img_log{
	margin: 0 0 4rem 0;
}

/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXX MEDIA QUERIES XXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/

@media screen and (max-width: 750px) {
  .block_log {
    padding:var(--marge-base-750);
  }
}