Commit 51302c06 by Andry F. Hutapea

Pembaharuan CSS

parent 1c2a6319
This source diff could not be displayed because it is too large. You can view the blob instead.
.skdslider{
width:100%;
position: relative;
display: block;
overflow:hidden;
height: 500px;
}
.skdslider:after {
content: '';
padding-top: 50%;
display: block;
}
.skdslider ul.slides{ margin:0; padding:0; list-style-type:none;}
.skdslider ul.slides li
{
display: none;
}
.skdslider ul.slides li img{
width: 100%;
border:0;
}
.skdslider ul.slide-navs {
bottom: 20px;
left: 50%;
position: absolute;
list-style-type: none;
margin: 0;
padding: 0;
}
.skdslider ul.slide-navs li {
float: left;
height:12px;
width:12px;
margin-right:4px;
cursor:pointer;
}
.skdslider ul.slide-navs li.current-slide {
}
.skdslider .slide-desc {
left: 0;
padding: 20px;
position: absolute;
bottom: 28%;
width: 100%;
display: inline-block;
text-align:center;
}
.skdslider .slide-desc > h3 {
color: #ffffff;
font-size: 50px;
margin-bottom: 20px;
padding: 10px;
width: 54%;
line-height:65px;
margin: 0 auto;
font-weight:600;
letter-spacing: 2px;
text-transform:uppercase;
}
.skdslider .slide-desc > p {
color: #FFFFFF;
font-size: 15px;
line-height: 28px;
margin: 0px auto 20px;
width: 65%;
padding: 12px;
}
.skdslider .slide-desc > a.more {
color:#990000;
font-size:25px;
text-decoration:none;
}
.skdslider .slide-desc > a.more:hover {
text-decoration:underline;
}
.skdslider a.prev{
background: url("../images/") no-repeat scroll 0 0 transparent;
width:35px;
height:35px;
display:block;
cursor:pointer;
position:absolute;
top:55%;
left:2%;
margin-top:-17px;
}
.skdslider a.next{
background: url("../images/") no-repeat scroll 0 0 transparent;
width:35px;
height:35px;
display:block;
cursor:pointer;
position:absolute;
top:55%;
right:2%;
margin-top:-17px;
}
.skdslider a.prev:hover{
}
.skdslider a.next:hover{
}
.skdslider a.play{
background: url("../images/") no-repeat scroll center center transparent;
width:35px;
height:35px;
display:none;
cursor:pointer;
position:absolute;
bottom : 6%;
right: 2%;
margin-top:-17px;
}
.skdslider a.pause{
background: url(../images/) no-repeat scroll center center transparent;
width: 35px;
height: 35px;
display: none;
cursor: pointer;
position: absolute;
bottom : 6%;
right: 2%;
margin-top: -17px;
}
/*-- responsive media queries --*/
/*Some Responsive CSS */
@media (max-width: 1440px){
.skdslider .slide-desc > p {
width: 70%;
}
.skdslider .slide-desc > h3 {
font-size: 38px;
}
.skdslider .slide-desc {
bottom: 42%;
}
.skdslider {
height: 556px;
}
}
@media (max-width: 1366px){
.skdslider {
height: 527px;
}
.skdslider .slide-desc > h3 {
font-size: 36px;
}
.skdslider .slide-desc > p {
width: 75%;
}
.skdslider .slide-desc {
bottom: 41%;
}
}
@media (max-width: 1280px){
.skdslider {
height: 493px;
}
.skdslider .slide-desc > p {
font-size: 14px;
}
.skdslider .slide-desc {
bottom: 27%;
}
}
@media (max-width: 1080px){
.skdslider {
height: 550px;
}
.skdslider .slide-desc > p {
font-size: 13px;
width: 85%;
}
.skdslider .slide-desc > h3 {
font-size: 34px;
}
}
@media (max-width: 1050px){
.skdslider {
height:393px;
}
.skdslider .slide-desc > h3 {
font-size: 32px;
}
.skdslider .slide-desc {
bottom: 22%;
}
.skdslider .slide-desc > h3 {
width: 64%;
line-height: 58px;
}
}
@media (max-width: 1024px){
.skdslider {
height: 393px;
}
.skdslider .slide-desc > h3 {
font-size: 30px;
}
}
@media (max-width: 991px){
.skdslider {
height: 330px;
}
.skdslider .slide-desc {
bottom: 22%;
}
.skdslider .slide-desc > p {
line-height: 24px;
letter-spacing: 1px;
}
.skdslider .slide-desc > h3 {
line-height: 48px;
}
.skdslider ul.slides li img {
width: none;
}
}
@media (max-width: 800px){
.skdslider .slide-desc > h3 {
font-size: 26px;
}
.skdslider {
height: 307px;
}
.skdslider .slide-desc > p {
line-height: 22px;
letter-spacing: 0.5px;
}
.skdslider .slide-desc > p {
font-size: 12.5px;
width: 90%;
}
}
@media screen and (max-width:768px) {
.skdslider .slide-desc > h3 {
font-size: 24px;
}
.skdslider {
height: 295px;
}
.skdslider .slide-desc > p a.more {
font-size:14px;
}
}
@media screen and (max-width:736px) {
.skdslider {
height: 281px;
}
.skdslider .slide-desc {
bottom: 18%;
}
}
@media screen and (max-width:667px) {
.skdslider {
height: 254px;
}
.skdslider .slide-desc {
bottom: 14%;
}
.skdslider .slide-desc > p {
padding: 10px;
}
}
@media screen and (max-width:640px) {
.skdslider {
height: 243px;
}
.skdslider .slide-desc > h3 {
width: 100%;
font-size: 22px;
}
.skdslider .slide-desc > p {
padding: 8px;
}
}
@media screen and (max-width:600px) {
.skdslider {
height: 229px;
}
.skdslider .slide-desc > h3 {
font-size: 22px;
letter-spacing: 2px;
width: 100%;
}
.skdslider .slide-desc > p {
padding: 6px;
font-size: 12px;
}
}
@media (max-width: 568px){
.skdslider {
height: 216px;
}
.skdslider .slide-desc > p {
line-height: 20px;
letter-spacing: 0px;
}
}
@media (max-width: 480px){
.skdslider {
height: 181px;
}
.skdslider .slide-desc > p {
width:93%;
padding: 8px;
}
.skdslider .slide-desc > h3 {
line-height: 34px;
}
}
@media (max-width: 414px){
.skdslider {
height: 154px;
}
.skdslider .slide-desc {
bottom: 10%;
}
.skdslider .slide-desc > h3 {
font-size: 18px;
width: 100%;
}
.skdslider .slide-desc > h3 {
line-height: 30px;
}
}
@media (max-width: 384px){
.skdslider {
height: 144px;
}
.skdslider .slide-desc {
bottom: 2%;
}
}
@media (max-width: 375px){
.skdslider {
height: 142px;
}
.skdslider .slide-desc {
bottom: 1.5%;
}
}
@media (max-width: 320px){
.skdslider {
height: 119px;
}
.skdslider .slide-desc {
bottom:0%;
}
.skdslider .slide-desc > h3 {
font-size: 14px;
width: 100%;
line-height: 26px;
}
}
\ No newline at end of file
body {
background: url("../images/photo_bg.jpg") no-repeat center center fixed;
background-size: cover;
font-size: 16px;
font-family: 'Lato', sans-serif;
font-weight: 300;
margin: 0;
color: #666;
}
/* Typography */
h1#title {
font-family: 'Roboto Slab', serif;
font-weight: 300;
font-size: 3.2em;
color: white;
text-shadow: 0 0 10px rgba(0,0,0,0.8);
margin: 0 auto;
padding-top: 180px;
max-width: 350px;
text-align: center;
position: relative;
top: 0px;
}
h1#title span span {
font-weight: 400;
}
h2 {
text-transform: uppercase;
color: white;
font-weight: 400;
letter-spacing: 1px;
font-size: 1.4em;
line-height: 2.8em;
}
a {
text-decoration: none;
color: #666;
}
a:hover {
color: #aeaeae;
}
p.small {
font-size: 0.8em;
margin: 20px 0 0;
}
/* Layout */
.container {
margin: 0;
}
.top {
margin: 0;
padding: 0;
width: 100%;
background: -moz-linear-gradient(top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#99000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}
.login-box {
background-color: white;
max-width: 340px;
margin: 0 auto;
position: relative;
top: -2px;
padding-bottom: 30px;
border-radius: 5px;
box-shadow: 0 5px 50px rgba(0,0,0,0.4);
text-align: center;
}
.login-box .box-header {
background-color: #665851;
margin-top: 0;
border-radius: 5px 5px 0 0;
}
.login-box label {
font-weight: 700;
font-size: .8em;
color: #888;
letter-spacing: 1px;
text-transform: uppercase;
line-height: 2em;
}
.login-box input {
margin-bottom: 20px;
padding: 8px;
border: 1px solid #ccc;
border-radius: 2px;
font-size: .9em;
color: #888;
}
.login-box input:focus {
outline: none;
border-color: #665851;
transition: 0.5s;
color: #665851;
}
.login-box button {
margin-top: 0px;
border: 0;
border-radius: 2px;
color: white;
padding: 10px;
text-transform: uppercase;
font-weight: 400;
font-size: 0.7em;
letter-spacing: 1px;
background-color: #665851;
cursor:pointer;
outline: none;
}
.login-box button:hover {
opacity: 0.7;
transition: 0.5s;
}
.login-box button:hover {
opacity: 0.7;
transition: 0.5s;
}
.selected {
color: #665851!important;
transition: 0.5s;
}
/* Animation Delay */
#logo {
-webkit-animation-duration: 1s;
-webkit-animation-delay: 2s;
}
.login-box {
-webkit-animation-duration: 1s;
-webkit-animation-delay: 1s;
}
\ No newline at end of file
This diff is collapsed. Click to expand it.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment