Single v1
-commentaires cachés -settings -3 lightbox -enqueue js et css
This commit is contained in:
99
css/my-featherlight.css
Normal file
99
css/my-featherlight.css
Normal file
@@ -0,0 +1,99 @@
|
||||
@media all {
|
||||
.lightbox { display: none; }
|
||||
.fl-page h1,
|
||||
.fl-page h3,
|
||||
.fl-page h4 {
|
||||
font-family: 'HelveticaNeue-UltraLight', 'Helvetica Neue UltraLight', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
||||
font-weight: 100;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.fl-page h1 { font-size: 110px; margin-bottom: 0.5em; }
|
||||
.fl-page h1 i { font-style: normal; color: #ddd; }
|
||||
.fl-page h1 span { font-size: 30px; color: #333;}
|
||||
.fl-page h3 { text-align: right; }
|
||||
.fl-page h3 { font-size: 15px; }
|
||||
.fl-page h4 { font-size: 2em; }
|
||||
.fl-page .jumbotron { margin-top: 2em; }
|
||||
.fl-page .btn-download { float: right; margin-top: -40px; }
|
||||
.fl-page .btn-default { vertical-align: bottom; }
|
||||
|
||||
.fl-page .row { margin-top: 2em;}
|
||||
|
||||
.fl-page .btn-lg span { font-size: 0.7em; }
|
||||
.fl-page .footer { margin-top: 3em; color: #aaa; font-size: 0.9em;}
|
||||
.fl-page .footer a { color: #999; text-decoration: none; margin-right: 0.75em;}
|
||||
.fl-page .github { margin: 2em 0; }
|
||||
.fl-page .github a { vertical-align: top; }
|
||||
|
||||
/* customized gallery */
|
||||
|
||||
.featherlight-gallery2 {
|
||||
background: rgba(100,100,100,0.5);
|
||||
}
|
||||
.featherlight-gallery2 .featherlight-content {
|
||||
background: #000;
|
||||
}
|
||||
.featherlight-gallery2 .featherlight-next:hover,
|
||||
.featherlight-gallery2 .featherlight-previous:hover {
|
||||
background: rgba(0,0,0,0.5);
|
||||
}
|
||||
.featherlight-gallery2 .featherlight-next:hover span,
|
||||
.featherlight-gallery2 .featherlight-previous:hover span {
|
||||
font-size: 25px;
|
||||
line-height: 25px;
|
||||
margin-top: -12.5px;
|
||||
color: #fff;
|
||||
}
|
||||
.featherlight-gallery2 .featherlight-close {
|
||||
background: transparent;
|
||||
color: #fff;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
.featherlight-gallery2.featherlight-last-slide .featherlight-next,
|
||||
.featherlight-gallery2.featherlight-first-slide .featherlight-previous {
|
||||
display: none;
|
||||
}
|
||||
/*
|
||||
.featherlight .featherlight-image {
|
||||
width: auto !important;
|
||||
height: auto !important;
|
||||
max-width: 100%;
|
||||
max-height: 90vh;
|
||||
}
|
||||
*/
|
||||
/* text slide */
|
||||
.thumbnail a { text-decoration: none; }
|
||||
.blurb {
|
||||
display: inline-block;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
}
|
||||
.blurb h2 { text-align: center;}
|
||||
.blurb .detail { display: none;}
|
||||
.blurb .teaser {
|
||||
font-style: italic;
|
||||
text-align: center;
|
||||
}
|
||||
.featherlight .blurb {
|
||||
display: inline-block;
|
||||
width: 500px;
|
||||
height: 300px;
|
||||
color: #99f;
|
||||
}
|
||||
.featherlight .blurb .detail {
|
||||
color: #ddf;
|
||||
font-size: large;
|
||||
display: inherit;
|
||||
}
|
||||
.featherlight .blurb .teaser { display: none;}
|
||||
.featherlight-caption {
|
||||
text-align: center;
|
||||
padding-top: 12px;
|
||||
font-size: larger;
|
||||
}
|
||||
|
||||
}
|
||||
@media(max-width: 768px){
|
||||
.fl-page h1 span { display: block; }
|
||||
.fl-page .btn-download { float: none; margin-bottom: 1em; }
|
||||
}
|
||||
Reference in New Issue
Block a user