site-accueil-insa/assets/css/style.css

531 lines
8.5 KiB
CSS
Raw Normal View History

2018-03-25 13:22:28 +02:00
/*******************************************************************************
MeyerWeb Reset
*******************************************************************************/
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: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}
ol, ul {
list-style: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/*******************************************************************************
Theme Styles
*******************************************************************************/
body {
box-sizing: border-box;
2018-03-29 17:20:05 +02:00
color: #b5b5b5;
2018-03-25 13:22:28 +02:00
font-size: 16px;
2018-05-23 17:21:21 +02:00
font-family: 'Raleway', sans-serif;
2018-03-25 13:22:28 +02:00
line-height: 1.5;
-webkit-font-smoothing: antialiased;
2018-03-29 17:20:05 +02:00
text-align: center;
2018-03-25 13:22:28 +02:00
}
h1, h2, h3, h4, h5, h6 {
margin: 10px 0;
2018-03-29 17:20:05 +02:00
color: #e0e0e0;
2018-05-23 17:21:21 +02:00
font-family: 'Montserrat', sans-serif;
2018-04-21 15:20:18 +02:00
font-weight: normal;
2018-03-25 13:22:28 +02:00
letter-spacing: -1px;
2018-03-29 17:20:05 +02:00
text-align: center;
2018-03-25 13:22:28 +02:00
}
h1 {
font-size: 36px;
}
h2 {
padding-bottom: 10px;
font-size: 32px;
}
h3 {
font-size: 24px;
}
h4 {
font-size: 21px;
}
h5 {
font-size: 18px;
}
h6 {
font-size: 16px;
}
p {
margin: 10px 0 15px 0;
}
footer p {
color: #f2f2f2;
text-shadow: 0 0 2px black;
2018-03-25 13:22:28 +02:00
}
a {
text-decoration: none;
color: #3a7eaa;
2018-03-25 13:22:28 +02:00
text-shadow: none;
2018-03-25 14:19:53 +02:00
transition: 0.3s;
2018-03-25 13:22:28 +02:00
}
a:hover, a:focus {
2018-05-06 21:47:33 +02:00
text-shadow: 0 0 4px #1a5dad;
2018-03-25 13:22:28 +02:00
}
strong {
font-weight: bold;
}
img {
position: relative;
max-width: 739px;
padding: 5px;
2018-03-25 14:19:53 +02:00
margin: 10px 0 10px 0;
2018-03-25 13:22:28 +02:00
}
p img {
display: inline;
margin: 0;
padding: 0;
vertical-align: middle;
text-align: center;
border: none;
}
ul, ol, dl {
margin-bottom: 15px
}
ul {
2018-03-25 14:19:53 +02:00
list-style: disc inside;
2018-03-25 13:22:28 +02:00
padding-left: 20px;
}
ol {
2018-03-25 14:19:53 +02:00
list-style: decimal inside;
2018-03-25 13:22:28 +02:00
padding-left: 20px;
}
table {
border: 1px solid #d5d5d5;
margin-bottom: 20px;
text-align: center;
}
th {
padding: 10px;
background: #373737;
color: #fff;
}
td {
padding: 10px;
border: 1px solid #212121;
}
.copyright{
color: #ccc;
font-size: 14px;
}
/*******************************************************************************
Full-Width Styles
*******************************************************************************/
.outer {
width: 100%;
}
.inner {
position: relative;
max-width: 900px;
padding: 20px 10px;
margin: 0 auto;
}
2018-06-05 20:03:33 +02:00
#header-wrap {
2018-03-25 13:22:28 +02:00
background-position: top;
}
2018-06-05 20:03:33 +02:00
#header-top {
2018-03-25 13:22:28 +02:00
display: flex;
color: white;
position: fixed;
width: 100%;
z-index: 2000;
2018-03-29 17:20:05 +02:00
height: 100px;
background: linear-gradient(to bottom, #1c1c1c, transparent 90%);
2018-05-23 17:10:39 +02:00
pointer-events: none;
2018-03-25 13:22:28 +02:00
}
2018-06-05 20:03:33 +02:00
#header-top a {
2018-05-24 13:17:51 +02:00
display: inline-flex;
pointer-events: auto;
2018-06-05 20:03:33 +02:00
vertical-align: middle;
2018-05-24 13:17:51 +02:00
height: 40px;
2018-06-05 20:03:33 +02:00
margin: 5px;
2018-03-25 13:22:28 +02:00
}
2018-06-05 20:03:33 +02:00
#header-wrap .inner {
2018-03-25 13:22:28 +02:00
padding: 100px 10px 100px 10px;
}
2018-06-05 20:03:33 +02:00
#menu-title {
2018-05-06 21:47:33 +02:00
line-height: 40px;
2018-06-05 20:03:33 +02:00
margin: 0 0 0 5px;
height: 40px;
2018-05-06 21:47:33 +02:00
}
2018-06-05 20:03:33 +02:00
#menu-icon {
2018-05-06 21:47:33 +02:00
width: 40px;
height: 40px;
padding: 0;
2018-06-05 20:03:33 +02:00
margin: auto;
2018-03-25 13:22:28 +02:00
}
#title {
margin: 0;
2018-06-05 20:03:33 +02:00
color: #e0e0e0;
2018-03-25 13:22:28 +02:00
font-size: 42px;
2018-03-25 14:19:53 +02:00
text-shadow: #111 0 0 10px;
2018-03-29 17:20:05 +02:00
text-align: center;
2018-05-23 17:21:21 +02:00
font-family: 'Montserrat', sans-serif;
2018-03-29 17:20:05 +02:00
font-weight: normal;
2018-05-23 17:21:21 +02:00
cursor: default;
2018-03-25 13:22:28 +02:00
}
2018-06-05 20:03:33 +02:00
#timer {
color: #b5b5b5;
font-size: 20px;
2018-03-25 13:22:28 +02:00
font-weight: 300;
background: none;
2018-03-25 14:19:53 +02:00
text-shadow: #111 0 0 10px;
2018-03-25 13:22:28 +02:00
border-bottom: none;
2018-06-05 20:03:33 +02:00
height: 30px;
}
#home-image {
width: 50%;
margin: 0;
padding: 0;
2018-03-25 13:22:28 +02:00
}
2018-06-05 20:03:33 +02:00
#home-title {
width: 60%;
margin: 0;
padding: 0;
}
#home-content-wrap {
2018-03-25 13:22:28 +02:00
background: none;
2018-06-05 20:03:33 +02:00
height: 100%;
2018-03-25 13:22:28 +02:00
}
2018-06-05 20:03:33 +02:00
#home-content {
2018-03-25 13:22:28 +02:00
padding-top: 100px;
}
2018-06-05 20:03:33 +02:00
#home-content h1 {
2018-03-25 13:22:28 +02:00
color: white;
font-size: 70px;
border: none;
text-align: center;
2018-03-25 14:19:53 +02:00
text-shadow: 0 0 10px #000;
2018-03-25 13:22:28 +02:00
}
2018-06-05 20:03:33 +02:00
#home-content p {
2018-03-25 13:22:28 +02:00
color: white;
font-size: 30px;
text-align: center;
2018-03-25 14:19:53 +02:00
text-shadow: 0 0 5px #000;
2018-03-25 13:22:28 +02:00
}
2018-06-05 20:03:33 +02:00
.background {
background: url("../images/bg_up.jpg") no-repeat center fixed;
background-size: cover;
position: fixed;
height: 100%;
width: 100%;
z-index: -10;
}
#bg_ussr {
background: url("../images/urss.png") no-repeat center fixed;
background-size: cover;
}
#bg_usa {
background: url("../images/usa.png") no-repeat center fixed;
background-size: cover;
}
#main-fading-top-edge {
2018-03-29 17:20:05 +02:00
height: 200px;
background: linear-gradient(to top, #1c1c1c, transparent 90%);
}
2018-06-05 20:03:33 +02:00
#main-fading-bottom-edge {
2018-03-29 17:20:05 +02:00
height: 200px;
background: linear-gradient(to bottom, #1c1c1c, transparent 90%);
}
2018-06-05 20:03:33 +02:00
#main-content-wrap {
2018-03-29 17:20:05 +02:00
background: #1c1c1c;
2018-03-25 13:22:28 +02:00
}
2018-06-05 20:03:33 +02:00
#main-content {
2018-05-24 13:17:51 +02:00
padding-top: 10px;
2018-03-25 13:22:28 +02:00
}
2018-06-05 20:03:33 +02:00
#footer-wrap {
2018-03-25 14:19:53 +02:00
padding: 50px 0 50px 0;
2018-03-25 13:22:28 +02:00
}
2018-06-05 20:03:33 +02:00
#table-wrapper {
2018-03-25 13:22:28 +02:00
width: 100%;
overflow: auto;
}
2018-06-05 20:03:33 +02:00
#table-coms{
2018-03-25 13:22:28 +02:00
width: 100%;
table-layout: auto;
2018-04-21 15:20:18 +02:00
text-align: center;
2018-05-24 14:27:15 +02:00
border: 1px solid #494949;
2018-03-25 13:22:28 +02:00
}
2018-06-05 20:03:33 +02:00
#table-coms .spacer{
2018-05-24 16:38:25 +02:00
width: 20%;
}
2018-06-05 20:03:33 +02:00
#table-coms td{
2018-03-25 13:22:28 +02:00
vertical-align: middle;
border: none;
2018-05-24 14:27:15 +02:00
padding: 0;
2018-05-24 16:38:25 +02:00
width: 30%;
2018-05-24 14:27:15 +02:00
}
2018-06-05 20:03:33 +02:00
#table-coms img{
2018-05-24 14:27:15 +02:00
height: 100px;
2018-03-25 13:22:28 +02:00
}
2018-06-05 20:03:33 +02:00
.com-description{
2018-03-25 13:22:28 +02:00
width: 100%;
font-weight: bold;
}
2018-06-05 20:03:33 +02:00
#back-button{
2018-03-25 13:22:28 +02:00
top: 0;
left: 0;
position: fixed;
width: 100%;
height: 100%;
background-color: #000;
2018-03-25 13:22:28 +02:00
opacity: 0;
z-index: -100;
2018-03-25 13:22:28 +02:00
transition: 0.3s;
}
2018-06-05 20:03:33 +02:00
.active-background {
z-index: 100 !important;
2018-03-25 13:22:28 +02:00
opacity: 0.7 !important;
}
2018-06-05 20:03:33 +02:00
.main-button {
background-color: #1a1a1a;
padding: 2px 2px 2px 2px;
2018-04-21 15:20:18 +02:00
border-radius: 5px;
text-shadow: 0 0 5px #1c1c1c;
2018-04-21 15:20:18 +02:00
font-size: 25px;
color: #73b795;
2018-04-21 15:20:18 +02:00
box-shadow: 0 0 4px #000;
}
2018-06-05 20:03:33 +02:00
.main-button:hover {
2018-04-21 15:20:18 +02:00
box-shadow: 0 0 10px #000;
background-color: #635247;
2018-04-21 15:20:18 +02:00
}
#credits-list {
list-style: none;
display: inline-flex;
}
2018-03-25 13:22:28 +02:00
#credits-list li {
padding: 5px;
height: 50px;
width: 50px;
}
#credits-list svg {
height: 50px;
width: 50px;
}
#credits-list a:hover{
color: #a3a7b3;
}
2018-06-05 20:03:33 +02:00
#main-pages{
2018-05-24 18:05:27 +02:00
width: 100%;
display: inline-grid;
padding: 0;
vertical-align: middle;
}
.main-link{
2018-06-05 20:03:33 +02:00
width: 80px;
height: 80px;
margin: 2px;
display: inline-grid;
2018-05-24 18:05:27 +02:00
vertical-align: middle;
padding: 0;
color: #e0e0e0;
}
.main-link:hover{
color: #1a5dad;
}
2018-06-05 20:03:33 +02:00
#main-link-container{
display: block;
}
2018-05-24 18:05:27 +02:00
.main-logo {
font-size: 64px;
display: inline-flex;
}
.main-logo svg {
margin: auto;
}
2018-06-05 20:03:33 +02:00
#list-blouse{
2018-05-25 13:50:59 +02:00
text-align: left;
list-style: square;
}
2018-05-25 21:33:08 +02:00
#map svg path{
transition: 0.3s;
2018-05-25 19:41:54 +02:00
}
2018-03-25 13:22:28 +02:00
/*******************************************************************************
Small Device Styles
*******************************************************************************/
@media screen and (max-width: 992px) {
img {
max-width: 100%;
}
}
@media screen and (max-width: 480px) {
body {
font-size: 14px;
}
.inner {
min-width: 320px;
max-width: 480px;
}
#title {
font-size: 32px;
}
h1 {
font-size: 28px;
}
h2 {
font-size: 24px;
}
h3 {
font-size: 21px;
}
h4 {
font-size: 18px;
}
h5 {
font-size: 14px;
}
h6 {
font-size: 12px;
}
code, pre {
font-size: 11px;
}
2018-06-05 20:03:33 +02:00
#table-wrapper {
2018-03-25 13:22:28 +02:00
width: 100%;
overflow: scroll;
}
2018-06-05 20:03:33 +02:00
#table-coms .spacer{
2018-05-24 16:38:25 +02:00
width: 0;
}
2018-06-05 20:03:33 +02:00
#table-coms td{
2018-05-24 16:38:25 +02:00
width: 50%;
}
2018-06-05 20:03:33 +02:00
.main-link {
width: 40px;
height: 40px;
}
2018-05-24 18:05:27 +02:00
.main-logo {
font-size: 32px;
}
2018-03-25 13:22:28 +02:00
}
@media screen and (max-width: 320px) {
body {
font-size: 14px;
}
.inner {
min-width: 240px;
max-width: 320px;
}
#title {
font-size: 28px;
}
h1 {
font-size: 24px;
}
h2 {
font-size: 21px;
}
h3 {
font-size: 18px;
}
h4 {
font-size: 16px;
}
h5 {
font-size: 14px;
}
h6 {
font-size: 12px;
}
code, pre {
min-width: 240px;
max-width: 320px;
font-size: 11px;
}
2018-06-05 20:03:33 +02:00
#table-wrapper {
2018-03-25 13:22:28 +02:00
width: 100%;
overflow: scroll;
}
}