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

411 lines
6.8 KiB
CSS

/*******************************************************************************
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 {
/*Full page background*/
background-size: cover;
background: url("../images/bg.jpg") no-repeat fixed center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
box-sizing: border-box;
color: #373737;
font-size: 16px;
font-family: 'Nunito Sans', sans-serif;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
margin: 10px 0;
color: #222222;
font-family: 'Rubik', sans-serif;
letter-spacing: -1px;
border-bottom: 1px solid #ccc;
}
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;
}
a {
text-decoration: none;
color: #3a7eaa;
text-shadow: none;
transition: 0.3s;
}
a:hover, a:focus {
color: #503c3b;
text-shadow: 0 0 4px #cccccc;
}
footer a {
color: #F2F2F2;
text-decoration: underline;
}
em, cite {
font-style: italic;
}
strong {
font-weight: bold;
}
img {
position: relative;
max-width: 739px;
padding: 5px;
margin: 10px 0 10px 0;
}
p img {
display: inline;
margin: 0;
padding: 0;
vertical-align: middle;
text-align: center;
border: none;
}
ul, ol, dl {
margin-bottom: 15px
}
ul {
list-style: disc inside;
padding-left: 20px;
}
ol {
list-style: decimal inside;
padding-left: 20px;
}
table {
border: 1px solid #d5d5d5;
margin-bottom: 20px;
text-align: center;
}
th {
font-family: Arial, sans-serif;
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;
}
#header_wrap {
background-position: top;
}
#header_top {
display: flex;
color: white;
background: #212121;
position: fixed;
width: 100%;
height: 50px;
z-index: 2000;
box-shadow: 0 2px 5px #222;
}
#header_top h4 {
color: white;
}
#header_wrap .inner {
padding: 100px 10px 100px 10px;
}
#menu_title {
border-bottom: none;
margin-left: 30px;
}
#title {
margin: 0;
color: #fff;
font-size: 42px;
font-weight: 700;
text-shadow: #111 0 0 10px;
border-bottom: none;
}
#description {
color: #fff;
font-size: 24px;
font-weight: 300;
background: none;
text-shadow: #111 0 0 10px;
border-bottom: none;
}
#home_content_wrap {
background: none;
}
#home_content {
padding-top: 100px;
background-color: #212121aa;
border-radius: 0 0 60px 60px;
box-shadow: 0 0 40px #212121;
}
#home_content h1 {
color: white;
font-size: 70px;
border: none;
text-align: center;
text-shadow: 0 0 10px #000;
}
#home_content p {
color: white;
font-size: 30px;
text-align: center;
text-shadow: 0 0 5px #000;
}
#main_content_wrap {
background: #f2f2f2;
box-shadow: 0 0 10px #222;
}
#main_content {
padding-top: 40px;
}
#footer_wrap {
padding: 50px 0 50px 0;
}
#table_wrapper {
width: 100%;
overflow: auto;
}
#table_coms{
width: 100%;
table-layout: auto;
text-align: left;
border: none;
}
#table_coms td{
vertical-align: middle;
border: none;
padding: 0 0 0 10px;
}
.com_description{
width: 100%;
font-weight: bold;
}
.com_logo{
width: 100px;
min-width: 50px;
}
#back_button{
top: 0;
left: 0;
position: fixed;
width: 100%;
height: 100%;
background-color: #000;
opacity: 0;
z-index: -100;
transition: 0.3s;
}
#photo_back_button{
top: 0;
left: 0;
position: fixed;
width: 100%;
height: 100%;
background-color: #212121cc;
z-index: 5;
transition: 0.3s;
}
.active_background {
z-index: 100 !important;
opacity: 0.7 !important;
}
/*******************************************************************************
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;
}
#table_wrapper {
width: 100%;
overflow: scroll;
}
}
@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;
}
#table_wrapper {
width: 100%;
overflow: scroll;
}
}