Optimize CSS and JS
This commit is contained in:
parent
5ef20ec786
commit
37ed7fd098
6 changed files with 63 additions and 15 deletions
638
css/style.css
Normal file
638
css/style.css
Normal file
|
@ -0,0 +1,638 @@
|
|||
|
||||
body {
|
||||
text-align:center;
|
||||
background-image:url('../img/fond.jpg');
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-weight:400;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/************************HEADER******************************/
|
||||
|
||||
header {
|
||||
position:absolute;
|
||||
top:0;
|
||||
text-align:right;
|
||||
width:100%;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.social
|
||||
{padding-right:21px;}
|
||||
|
||||
|
||||
header a
|
||||
{
|
||||
overflow:hidden;
|
||||
height:38px;
|
||||
width:38px;
|
||||
position:relative;
|
||||
float:right;
|
||||
margin-top:13px;
|
||||
margin-left:13px;
|
||||
margin-right:0;
|
||||
background-position:0 0;
|
||||
background-repeat:no-repeat;
|
||||
-webkit-transition: all 0.1s ease-in;
|
||||
-moz-transition: all 0.1s ease-in;
|
||||
-o-transition: all 0.1s ease-in;
|
||||
}
|
||||
|
||||
header a:focus,
|
||||
header a:hover
|
||||
{
|
||||
outline:none;
|
||||
background-position:0 100%;
|
||||
-webkit-transition: all 0.1s ease-in;
|
||||
-moz-transition: all 0.1s ease-in;
|
||||
-o-transition: all 0.1s ease-in;
|
||||
}
|
||||
|
||||
.share
|
||||
{background-image:url('../img/share.png');}
|
||||
|
||||
.sharemask
|
||||
{
|
||||
height:38px;
|
||||
width:38px;
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
z-index:10;
|
||||
background-image:url('../img/sharemask.png');
|
||||
background-position:top left;
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
|
||||
.facebook
|
||||
{background-image:url('../img/facebook.png');}
|
||||
|
||||
.facebookmask
|
||||
{
|
||||
height:38px;
|
||||
width:38px;
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
z-index:10;
|
||||
background-image:url('../img/facebookmask.png');
|
||||
background-position:top left;
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
|
||||
.twitter
|
||||
{background-image:url('../img/twitter.png');}
|
||||
|
||||
.twittermask
|
||||
{
|
||||
height:38px;
|
||||
width:38px;
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
z-index:10;
|
||||
background-image:url('../img/twittermask.png');
|
||||
background-position:top left;
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*************************FOOTER****************************/
|
||||
|
||||
|
||||
footer {
|
||||
position:fixed;
|
||||
bottom:0;
|
||||
text-align:center;
|
||||
width:100%;
|
||||
background-image:url('../img/fondfooter.png');
|
||||
background-repeat:repeat-x;
|
||||
background-position:top left;
|
||||
padding-top:20px;
|
||||
color:#adadad;
|
||||
font-size:12px;
|
||||
z-index:11;
|
||||
}
|
||||
|
||||
.footer_wrapper {
|
||||
height:28px;
|
||||
}
|
||||
|
||||
footer a{
|
||||
color:#adadad;
|
||||
-webkit-transition: all 0.1s ease-in;
|
||||
-moz-transition: all 0.1s ease-in;
|
||||
-o-transition: all 0.1s ease-in;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
footer a:focus,
|
||||
footer a:hover
|
||||
{
|
||||
outline:none;
|
||||
color:#f2084a;
|
||||
-webkit-transition: all 0.1s ease-in;
|
||||
-moz-transition: all 0.1s ease-in;
|
||||
-o-transition: all 0.1s ease-in;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*************************CONTENT ACCUEIL****************************/
|
||||
|
||||
.logo {
|
||||
padding-bottom:55px;
|
||||
}
|
||||
|
||||
.labelurl
|
||||
{
|
||||
position:relative;
|
||||
color:#3f3f3f;
|
||||
font-size:19px;
|
||||
|
||||
}
|
||||
|
||||
.champs
|
||||
{
|
||||
position:relative;
|
||||
margin-bottom:70px;
|
||||
margin-top:8px;
|
||||
}
|
||||
|
||||
.downloadBtn {
|
||||
position:relative;
|
||||
background-color:#3A3A3A;
|
||||
border: 3px solid #a5a5a5;
|
||||
color:#dedede;
|
||||
border-radius:10px;
|
||||
padding: 12px 14px;
|
||||
font-size:24px;
|
||||
font-weight:800;
|
||||
cursor:pointer;
|
||||
-webkit-transition: all 0.1s ease-in;
|
||||
-moz-transition: all 0.1s ease-in;
|
||||
-o-transition: all 0.1s ease-in;
|
||||
text-decoration:none;
|
||||
display:inline-block;
|
||||
}
|
||||
|
||||
.downloadBtn:focus,
|
||||
.downloadBtn:hover
|
||||
{
|
||||
outline:none;
|
||||
background-color:#f2084a;
|
||||
-webkit-transition: all 0.1s ease-in;
|
||||
-moz-transition: all 0.1s ease-in;
|
||||
-o-transition: all 0.1s ease-in;
|
||||
}
|
||||
|
||||
.downloadBtn::-moz-focus-inner {
|
||||
border:none;
|
||||
}
|
||||
|
||||
.URLinput{
|
||||
position:relative;
|
||||
background-color:#fff;
|
||||
border: 3px solid #a5a5a5;
|
||||
color:#3F3F3F;
|
||||
border-radius:10px;
|
||||
padding: 12px 12px 12px 12px;
|
||||
min-width:426px;
|
||||
font-size:24px;
|
||||
font-weight:800;
|
||||
margin-right:8px;
|
||||
}
|
||||
|
||||
|
||||
.URLinput:focus {
|
||||
outline: none;
|
||||
border-color:#3A3A3A;
|
||||
}
|
||||
|
||||
.URLinput:-webkit-input-placeholder{
|
||||
color:#c1cfcf;
|
||||
}
|
||||
.URLinput:-moz-placeholder {
|
||||
color:#c1cfcf;
|
||||
}
|
||||
|
||||
.combatiblelink {
|
||||
position:relative;
|
||||
color:#a5a5a5;
|
||||
font-size:13px;
|
||||
z-index:10;
|
||||
text-decoration:none;
|
||||
background-image:url('../img/compatiblerouage.png');
|
||||
background-position:0 100%;
|
||||
background-repeat:no-repeat;
|
||||
padding-left:41px;
|
||||
padding-top:10px;
|
||||
padding-bottom:10px;
|
||||
-webkit-transition: all 0.1s ease-in;
|
||||
-moz-transition: all 0.1s ease-in;
|
||||
-o-transition: all 0.1s ease-in;
|
||||
}
|
||||
|
||||
.combatiblelink:focus,
|
||||
.combatiblelink:hover
|
||||
{
|
||||
outline:none;
|
||||
background-position:0 0;
|
||||
color:#f2084a;
|
||||
-webkit-transition: all 0.1s ease-in;
|
||||
-moz-transition: all 0.1s ease-in;
|
||||
-o-transition: all 0.1s ease-in;
|
||||
}
|
||||
|
||||
.mp3
|
||||
{
|
||||
position:relative;
|
||||
background-color:#cecece;
|
||||
color:#696969;
|
||||
border-radius:6px;
|
||||
width:622px;
|
||||
font-size:14px;
|
||||
height:26px;
|
||||
margin-top:12px;
|
||||
text-align:left;
|
||||
font-weight:300;
|
||||
}
|
||||
|
||||
.mp3 p
|
||||
{
|
||||
padding:3px;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Demo CSS code
|
||||
*/
|
||||
|
||||
.audio:not(:checked),
|
||||
.audio:checked {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
.audio:not(:checked) + label,
|
||||
.audio:checked + label {
|
||||
position: relative;
|
||||
padding-left: 82px;
|
||||
cursor: pointer;
|
||||
line-height:22px;
|
||||
}
|
||||
.audio:not(:checked) + label:before,
|
||||
.audio:checked + label:before,
|
||||
.audio:not(:checked) + label:after,
|
||||
.audio:checked + label:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
}
|
||||
.audio:not(:checked) + label:before,
|
||||
.audio:checked + label:before {
|
||||
left:0; top: -1px;
|
||||
width: 45px; height: 20px;
|
||||
background: #ffffff;
|
||||
border-radius: 6px;
|
||||
-webkit-transition: background-color .2s;
|
||||
-moz-transition: background-color .2s;
|
||||
-ms-transition: background-color .2s;
|
||||
-o-transition: background-color .2s;
|
||||
transition: background-color .2s;
|
||||
}
|
||||
.audio:not(:checked) + label:after,
|
||||
.audio:checked + label:after {
|
||||
width: 16px; height: 16px;
|
||||
-webkit-transition: all .2s;
|
||||
-moz-transition: all .2s;
|
||||
-ms-transition: all .2s;
|
||||
-o-transition: all .2s;
|
||||
transition: all .2s;
|
||||
border-radius: 6px;
|
||||
background: #3a3a3a;
|
||||
top: 1px; left: 2px;
|
||||
}
|
||||
|
||||
.audio:focus + label {
|
||||
color:black;
|
||||
}
|
||||
|
||||
/* on checked */
|
||||
.audio:checked + label:before {
|
||||
background:#f2084a;
|
||||
}
|
||||
.audio:checked + label:after {
|
||||
background: #fff;
|
||||
top: 1px; left: 27px;
|
||||
}
|
||||
|
||||
.audio:checked + label .ui,
|
||||
.audio:not(:checked) + label .ui:before,
|
||||
.audio:checked + label .ui:after {
|
||||
position: absolute;
|
||||
left: 3px;
|
||||
width: 45px;
|
||||
border-radius: 15px;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
line-height: 17px;
|
||||
height:20px;
|
||||
-webkit-transition: all .2s;
|
||||
-moz-transition: all .2s;
|
||||
-ms-transition: all .2s;
|
||||
-o-transition: all .2s;
|
||||
transition: all .2s;
|
||||
}
|
||||
.audio:not(:checked) + label .ui:before {
|
||||
content: "no";
|
||||
left: 0;
|
||||
padding-left:23px;
|
||||
padding-top:2px;
|
||||
background-image:url('../img/mp3hover.png');
|
||||
background-repeat:no-repeat;
|
||||
background-position:right top;
|
||||
width:56px;
|
||||
-webkit-transition: all .2s;
|
||||
-moz-transition: all .2s;
|
||||
-ms-transition: all .2s;
|
||||
-o-transition: all .2s;
|
||||
transition: all .2s;
|
||||
}
|
||||
.audio:checked + label .ui:after {
|
||||
content: "yes";
|
||||
color: #fff;
|
||||
background-image:url('../img/mp3.png');
|
||||
background-repeat:no-repeat;
|
||||
background-position:right top;
|
||||
width:73px;
|
||||
-webkit-transition: all .2s;
|
||||
-moz-transition: all .2s;
|
||||
-ms-transition: all .2s;
|
||||
-o-transition: all .2s;
|
||||
transition: all .2s;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*************************CONTENT COMPATIBLES****************************/
|
||||
|
||||
.logobis
|
||||
{
|
||||
width:447px;
|
||||
height:107px;
|
||||
position:relative;
|
||||
margin:0 auto 10px auto;
|
||||
}
|
||||
|
||||
|
||||
.logocompatible
|
||||
{
|
||||
width:447px;
|
||||
height:107px;
|
||||
background-image:url('../img/logocompatible.png');
|
||||
background-repeat:repeat-y;
|
||||
background-position:0 0;
|
||||
-webkit-transition: all 0.1s ease-in;
|
||||
-moz-transition: all 0.1s ease-in;
|
||||
-o-transition: all 0.1s ease-in;
|
||||
display:block;
|
||||
}
|
||||
|
||||
.logocompatible:focus,
|
||||
.logocompatible:hover {
|
||||
outline:none;
|
||||
background-position:0 100%;
|
||||
-webkit-transition: all 0.1s ease-in;
|
||||
-moz-transition: all 0.1s ease-in;
|
||||
-o-transition: all 0.1s ease-in;}
|
||||
|
||||
|
||||
.logocompatiblemask
|
||||
{
|
||||
z-index:10;
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
width:447px;
|
||||
height:107px;
|
||||
background-image:url('../img/logocompatiblemask.png');
|
||||
background-position:0 100%;
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
|
||||
.titre
|
||||
{
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-weight:300;
|
||||
color:#383838;
|
||||
font-size:48px;
|
||||
}
|
||||
|
||||
.tripleliste
|
||||
{
|
||||
margin-top:80px;
|
||||
width:800px;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
|
||||
|
||||
.tripleliste ul
|
||||
{
|
||||
margin-bottom:1em;
|
||||
width:600px;
|
||||
margin-left:120px;}
|
||||
|
||||
.tripleliste ul li
|
||||
{text-align:left;
|
||||
List-Style-Type:none;
|
||||
color:#383838;
|
||||
font-size:16px;
|
||||
|
||||
width:200px;
|
||||
float:left;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
margin:0;
|
||||
height:100%;
|
||||
}
|
||||
.wrapper {
|
||||
height:100%;
|
||||
display:table;
|
||||
margin:auto;
|
||||
padding-bottom:110px;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.main {
|
||||
display:table-cell;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
.extractors {
|
||||
padding-top:60px;
|
||||
}
|
||||
|
||||
.extractors .wrapper {
|
||||
padding-bottom:5em;
|
||||
}
|
||||
|
||||
.logocompatible,
|
||||
.social a {
|
||||
font-size:0;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
.social a {
|
||||
color:#D1D1D1;
|
||||
}
|
||||
.logocompatible {
|
||||
color: #4F4F4F
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin:0;
|
||||
}
|
||||
|
||||
.error {
|
||||
max-width: 100ex;
|
||||
}
|
||||
|
||||
.error p {
|
||||
text-align:justify;
|
||||
}
|
||||
|
||||
.smaller {
|
||||
font-size:smaller;
|
||||
}
|
||||
|
||||
.thumb {
|
||||
max-width:700px;
|
||||
}
|
||||
|
||||
.cast_btn {
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.cast_hidden {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.cast_icon {
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
.format {
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
.best {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.thumb {
|
||||
width:90%;
|
||||
}
|
||||
|
||||
.URLinput{
|
||||
min-width:0;
|
||||
}
|
||||
|
||||
.logo {
|
||||
max-width:330px;
|
||||
}
|
||||
|
||||
.logocompatible,
|
||||
.logocompatible img {
|
||||
max-width:447px;
|
||||
}
|
||||
|
||||
.logocompatible,
|
||||
.logo,
|
||||
.champs,
|
||||
.URLinput,
|
||||
.mp3 {
|
||||
width:90%;
|
||||
margin:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.logo {
|
||||
margin-top:50px;
|
||||
}
|
||||
|
||||
.logocompatible img {
|
||||
width:100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.downloadBtn {
|
||||
margin-top: 0.3em;
|
||||
}
|
||||
.mp3 {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
footer {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.tripleliste ul,
|
||||
.tripleliste {
|
||||
width:auto;
|
||||
margin-left:auto;
|
||||
margin-top:auto;
|
||||
}
|
||||
|
||||
.logocompatiblemask {
|
||||
background:none;
|
||||
}
|
||||
|
||||
.logocompatible {
|
||||
height:auto;
|
||||
background-image:none;
|
||||
background-color:#4F4F4F;
|
||||
}
|
||||
|
||||
.logocompatiblemask,
|
||||
.logobis {
|
||||
width:auto;
|
||||
}
|
||||
|
||||
.logocompatiblemask {
|
||||
position:static;
|
||||
}
|
||||
|
||||
.logobis {
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.titre {
|
||||
margin:auto;
|
||||
}
|
||||
|
||||
.error p {
|
||||
padding:0.5em;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue