mirror of
https://ghproxy.net/https://github.com/presscustomizr/hueman.git
synced 2026-07-27 12:47:05 +08:00
88 lines
No EOL
5.5 KiB
CSS
88 lines
No EOL
5.5 KiB
CSS
/* ------------------------------------------------------------------------- *
|
|
* Common Elements
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
/* common : responsive videos
|
|
/* ------------------------------------ */
|
|
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
|
|
.video-container iframe, .video-container object, .video-container embed, .video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
|
|
|
/* common : responsive image + caption
|
|
/* ------------------------------------ */
|
|
.image-container { position: relative; }
|
|
.image-container img { display: block; width: 100%; height: auto; }
|
|
.image-caption { background: rgba(0,0,0,0.7); color: #fff; font-size: 13px; line-height: 1.3em; font-style: italic; padding: 8px 10px; position: absolute; bottom: 8px; left: 8px; margin-right: 8px;
|
|
-webkit-border-radius: 2px; border-radius: 2px;
|
|
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.03);
|
|
box-shadow: inset 0 1px 1px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.03); }
|
|
|
|
/* common : social links
|
|
/* ------------------------------------ */
|
|
.social-links { float: right; position: relative; padding-top: 2px; }
|
|
.social-links li { display: inline-block; margin-left: 8px; line-height: 16px; font-size: 0; }
|
|
.social-links li a { display: block!important; position: relative; text-align: center; }
|
|
.social-links .social-tooltip { color: #fff; color: rgba(255,255,255,0.7); font-size: 24px; display: inline; position: relative; z-index: 98; }
|
|
.social-links .social-tooltip:hover { color: #fff!important; text-decoration: none; }
|
|
.social-links .social-tooltip:hover:after { top: -36px; background: #fff; font-size: 14px; color: #666; content: attr(title); display: block; right: 0; padding: 5px 15px; position: absolute; white-space: nowrap;
|
|
-webkit-border-radius: 3px; border-radius: 3px;
|
|
-webkit-box-shadow: 0 0 2px rgba(0,0,0,0.2); box-shadow: 0 0 2px rgba(0,0,0,0.2); }
|
|
.social-links .social-tooltip:hover:before { top: -10px; right: 8px; border: solid; border-color: #fff transparent; border-width: 5px 5px 0 5px; content: ""; display: block; position: absolute; z-index: 1; }
|
|
|
|
/* common : page title
|
|
/* ------------------------------------ */
|
|
.page-title { background: #fff; position: relative; padding-top: 18px; padding-bottom: 17px; border-bottom: 1px solid #eee; color: #666; font-size: 16px; font-weight: 600; text-transform: uppercase; line-height: 24px; }
|
|
.page-title a { color: #aaa; }
|
|
.page-title a:hover { color: #444; }
|
|
.page-title span { color: #aaa; }
|
|
.page-title i { margin-right: 8px; }
|
|
.page-title h1,
|
|
.page-title h2,
|
|
.page-title h4 { color: #666; }
|
|
.page-title .meta-single li { float: left; margin-right: 14px; }
|
|
.page-title .meta-single li.comments { float: right; margin-right: 0; }
|
|
|
|
/* common : notebox
|
|
/* ------------------------------------ */
|
|
.notebox { background: #f0f0f0; position: relative; padding: 12px 15px; color: #888; margin-bottom: 30px; }
|
|
.notebox:before { content:''; display: inline-block; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid #f1f1f1; position: absolute; top: -8px; left: 13px; }
|
|
.notebox:after { content:''; display: inline-block; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 6px solid #f1f1f1; position: absolute; top: -5px; left: 15px; }
|
|
.notebox span { font-weight: 600; }
|
|
.notebox .search-again { margin-top: 10px; }
|
|
.notebox input[type="text"] { width: 100%; }
|
|
|
|
/* common : page image
|
|
/* ------------------------------------ */
|
|
.page-image { overflow: hidden; position: relative; margin: 0 0 30px 0; }
|
|
.page-image-text { position: absolute; top: 50%; margin-top: -35px; width: 100%; text-align: center; }
|
|
.page-image-text .caption { color: #fff; font-size: 44px; line-height: 70px; text-transform: uppercase; font-weight: 600; text-shadow: 0 0 20px rgba(0,0,0,0.3); }
|
|
.page-image-text .description { display: block; color: #fff; font-size: 15px; line-height: 36px; font-weight: 300; }
|
|
.page-image-text .description i { background: rgba(0,0,0,0.7); opacity: 0.9; font-style: normal; padding: 6px 10px; -webkit-border-radius: 2px; border-radius: 2px; }
|
|
|
|
/* common : pagination
|
|
/* ------------------------------------ */
|
|
.pagination { margin-bottom: 15px; }
|
|
.pagination a { font-size: 18px; font-weight: 600; }
|
|
|
|
/* common : thumb icon
|
|
/* ------------------------------------ */
|
|
.thumb-icon { background: rgba(0,0,0,0.7); color: #fff; text-align: center; display: block; width: 32px; height: 32px; position: absolute; bottom: 20px; left: 20px;
|
|
-webkit-border-radius: 6px; border-radius: 6px;
|
|
-moz-transition: all 0.7s ease; -webkit-transition: all 0.7s ease; transition: all 0.7s ease;
|
|
-webkit-box-shadow: 0 0 2px rgba(255,255,255,0.4);
|
|
box-shadow: 0 0 2px rgba(255,255,255,0.4);
|
|
-webkit-transform: rotate(45deg);
|
|
-moz-transform: rotate(45deg);
|
|
-ms-transform: rotate(45deg);
|
|
-o-transform: rotate(45deg);
|
|
transform: rotate(45deg); }
|
|
.thumb-icon i { font-size: 18px; padding: 7px 0;
|
|
-webkit-transform: rotate(-45deg);
|
|
-moz-transform: rotate(-45deg);
|
|
-ms-transform: rotate(-45deg);
|
|
-o-transform: rotate(-45deg);
|
|
transform: rotate(-45deg); }
|
|
.thumb-icon .fa-play { margin: -1px 0 0 2px; }
|
|
.thumb-icon.small { width: 24px; height: 24px; position: absolute; bottom: 14px; left: 14px;
|
|
-webkit-border-radius: 4px; border-radius: 4px; }
|
|
.thumb-icon.small .fa { font-size: 14px; line-height: 16px; padding: 5px 0; }
|
|
.thumb-icon.small .f-play { margin: -1px 0 0 2px; } |