ThomasStarck (Talk | contribs) |
ThomasStarck (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
<html> | <html> | ||
− | + | <style> | |
− | + | /* BEGIN : Block Settings */ | |
− | + | #GeneralContent { | |
− | + | position:relative; | |
− | + | width: 100%; | |
− | + | background-color: #fffafc; | |
− | + | } | |
− | + | #MainContent { | |
− | + | max-width: 1100px; | |
− | + | margin: auto; | |
− | + | padding-top: 10%; | |
− | + | padding-bottom: 10%; | |
− | + | text-align: center; | |
− | + | } | |
− | + | footer { | |
− | + | background-color: #303E91; | |
− | + | height: 70px; | |
− | + | width: 100%; | |
− | + | bottom: 0%; | |
− | + | left: 0%; | |
− | + | } | |
− | + | .block { | |
− | + | display: inline-block; | |
− | + | vertical-align: middle; | |
− | + | margin: auto; | |
− | + | margin-top: 2%; | |
− | + | margin-bottom: 2%; | |
− | + | margin-left: 1%; | |
− | + | margin-right: 1%; | |
− | + | } | |
− | + | .block.title { | |
− | + | width: 94%; | |
− | + | margin-bottom: 10%; | |
− | + | } | |
− | + | .block.two-third { | |
− | + | width: 60%; | |
− | + | } | |
− | + | .block.two-third.center { | |
− | + | width: 60%; | |
− | + | } | |
− | + | .block.one-third { | |
− | + | width: 30%; | |
+ | } | ||
+ | .block.full { | ||
+ | width: 90%; | ||
+ | } | ||
+ | .block.half { | ||
+ | width: 45%; | ||
+ | } | ||
+ | .block.separator { | ||
+ | height: 1px; | ||
+ | width: 90%; | ||
+ | margin-top: 3%; | ||
+ | margin-bottom: 3%; | ||
+ | } | ||
+ | .block.separator-invisible { | ||
+ | height: 1px; | ||
+ | width: 90%; | ||
+ | } | ||
+ | .block.separator-mark { | ||
+ | height: 2px; | ||
+ | width: 70%; | ||
+ | margin-top: 15%; | ||
+ | margin-bottom: 20%; | ||
+ | background-color: black; | ||
+ | opacity: 0.3; | ||
+ | } | ||
+ | .onglet{ | ||
+ | position: relative; | ||
+ | border-radius: 20px; | ||
+ | background-color: red; | ||
+ | padding-top: 64%; | ||
+ | width: 43%; | ||
+ | box-shadow: 5px 5px 30px grey; | ||
+ | background-color: #fffafc; | ||
+ | } | ||
+ | .onglet:hover{ | ||
+ | opacity: .8; | ||
+ | transform: scale(1.05,1.05); | ||
+ | } | ||
+ | .onglet img{ | ||
+ | border-top-left-radius: 20px; | ||
+ | border-top-right-radius: 20px; | ||
+ | height: 300px; | ||
+ | width: 100%; | ||
+ | } | ||
+ | .textOnglet{ | ||
+ | height: 50px; | ||
+ | } | ||
+ | .imgOnglet{ | ||
+ | width: 100% | ||
+ | height: 300px; | ||
+ | } | ||
+ | .legend p { | ||
+ | text-indent: 0px; | ||
+ | font-size: 0.8em; | ||
+ | } | ||
+ | p { | ||
+ | text-align: justify; | ||
+ | text-indent: 30px; | ||
+ | } | ||
+ | img { | ||
+ | width: 100%; | ||
+ | } | ||
+ | a img:hover { | ||
+ | opacity: 0.4; | ||
+ | } | ||
+ | @media only screen and (max-width: 950px) { | ||
+ | .block.two-third, .block.one-third, .block.half {width: 44%; margin-left: 2%; margin-right: 2%;} | ||
+ | .block.two-third.center, .block.full, .block.separator, .block.title {width: 92%; margin-left: 4%; margin-right: 4%;} | ||
+ | body {padding-top: 40px;} | ||
+ | } | ||
+ | @media only screen and (max-width: 760px) { | ||
+ | .block.two-third, .block.one-third, .block.two-third.center, .block.full, .block.separator, .block.title, .block.half {width: 96%; margin-left: 2%; margin-right: 2%; max-width: 495px;} | ||
+ | #Menu {display:none;} | ||
+ | body {padding-top: 40px;} | ||
+ | } | ||
+ | /* END : Block Settings */ | ||
+ | </style> | ||
</html> | </html> |
Revision as of 16:38, 20 August 2018