club-theme-cover
Version:
86 lines (72 loc) • 1.86 kB
CSS
html {
font-family: 'Noto Sans', 'sans-serif', 'Microsoft Jhenghei';
width: 100%;
height: 100%; }
header {
height: 400px;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover; }
.row .col-sm-4 {
float: right;
clear: right; }
.tagline {
text-shadow: 0 0 10px #000;
color: #fff; }
.img-center {
margin: 0 auto; }
footer {
margin: 50px 0; }
@media screen and (max-width: 768px) {
.news-title {
width: 86%;
margin: auto; }
.row .col-sm-4 {
clear: both;
width: 96%;
margin: auto; }
.row .col-sm-8 {
width: 86%;
margin: auto; } }
.ribbon-container {
z-index: 100000;
position: relative;
display: inline-block;
line-height: 1; }
.ribbon {
position: fixed;
bottom: 1em;
left: 0;
margin-right: 1em;
padding: .75em 1.25em .75em .75em;
border-radius: 0 .5em .5em 0;
background-color: #39f;
background-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
box-shadow: inset 0 0.062em 0 rgba(255, 255, 255, 0.6), 0 0.125em 0.25em rgba(0, 0, 0, 0.2);
color: #fff;
text-shadow: 0 -0.062em 0 rgba(0, 0, 0, 0.2);
white-space: nowrap;
transition: background-color .2s ease-in-out; }
.ribbon:before,
.ribbon:after {
position: absolute;
background-color: inherit;
content: ""; }
.ribbon:before {
bottom: 0;
left: -.5em;
width: .5em;
height: 3em;
border-radius: 0 0 0 .5em;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, transparent 100%); }
.ribbon:after {
top: -1em;
left: -.5em;
width: .5em;
height: 1em;
border-radius: .5em 0 0 .5em;
background-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
box-shadow: 0 0.062em 0 rgba(255, 255, 255, 0.6); }
.ribbon-container:hover .ribbon {
background-color: #7acc29; }