Thursday, 8 October 2015

CSS


* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

     
body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    font-family: Arial, Helvetica, sans-serif;
    background:#e6e6e6;
    padding:0px;
    margin:0px;
    color:#333;
    min-height:100%;
}

.content {
 
    top:0px;  
    bottom:0px;
    left:0px;
    right:0px;
    overflow:scroll;
    padding-top: 10px;
    -webkit-overflow-scrolling:touch;
    margin-bottom:0px;
}
.header {
    text-align:center;
    /*position:fixed;*/
    height:25px;
    left:0px;
    right:0px;
    padding:5px 0px 5px 0px;
    border-bottom:3px solid #CCC;
    font-size:20px;
    font-weight:bold;
    font-family: Helvetica;
    background-color: white;
    color:black;
    border: solid 1px #c3c3c3;
    margin:0px;
}
.card {
    background:#FFF;
    border:1px solid #e6e6e6;
    border-bottom:1.5px solid #BBB;
    border-radius:3px;
    padding:1.5rem;
    margin:7px;
    overflow:hidden;
 
    animation-name:fly-in-from-left;
    animation-delay:0s;
    transform-origin:top left;
    animation-duration: 0.8s;
}

@keyframes fly-in-from-left {
  from {
    transform:translateY(15rem) rotate(15deg);
    opacity:0;
  }
}

p{
    color:grey;
    font-family: Helvetica;
}

.card-image {
    width:100%;
    height:200px;
    padding:0px;
    margin:0px;
    background-position:center;
    background-repeat:no-repeat;
    position:relative;
    overflow:hidden;
}

.card-image .banner {
    height:50px;
    width:50px;
    top:0px;
    right:0px;
    background-position:top right;
    background-repeat:no-repeat;
    position:absolute;
}

a {
    color:white;
    text-decoration:none;
}

a:hover {
    color:white;
    text-decoration:none;
}

.card-image h1,
.card-image h2,
.card-image h3,
.card-image h4,
.card-image h5,
.card-image h6 {
    position:absolute;
    bottom:0px;
    width:100%;
    color:white;
    background:rgba(0,0,0,0.65);
    margin:0px;
    padding:6px;
    border:none;
}
.image1 {
    background-image:url('../img/1.jpg');
}

.image2 {
    background-image:url('../img/2.jpg');
}

.image3 {
    background-image:url('../img/3.jpg');
}

.image4 {
    background-image:url('../img/1.jpg');
}

.image5 {
    background-image:url('../img/1.jpg');
}

.image6 {
    background-image:url('../img/1.jpg');
}

h1 {
    font-size:24px;
    font-weight:normal;
    margin:0px;
    overflow:visible;
    padding:0px;
    text-align:center;
    font-family: Helvetica;
}

.logo{
    float:left;
}


}
li{
    text-align: center;
    padding-right: 40px;
}
ul{
    list-style: none;
}
hr{
    padding-right: 40px;
    width: 50%;
}


#flip {
    padding: 15px;
    text-align: center;
    background-color: #394249;
    border-bottom:3px solid #273238;
    border: solid 1px #273238;
    color:white;

}

#panel {
    padding: 50px;
    display: none;
    background-color: #273238;
    color:white;
}
li{
    text-align: center;
    padding-right: 40px;
}
ul{
    list-style: none;
}
hr{
    margin-left: 20px;
    margin-right: 20px;
    width: 50%;
}

.app {
    background:url(../img/c256.png) no-repeat center top; /* 170px x 200px */
    position:absolute;             /* position in the center of the screen */
    left:50%;
    top:45%;
    height:50px;                   /* text area height */
    width:225px;                   /* text area width */
    text-align:center;
    padding:180px 0px 0px 0px;     /* image height is 200px (bottom 20px are overlapped with text) */
    margin:-115px 0px 0px -112px;  /* offset vertical: half of image height and text area height */
                                   /* offset horizontal: half of text area width */
}
::-webkit-input-placeholder {
   text-align: center;
}
input{
    width: 200px;
    height:40px;
}

#flip1 {
    padding: 15px;
    text-align: center;
    background-color: #303f9f;
    border-bottom:3px solid #303f9f;
    border: solid 1px #303f9f;
    color:white;

}

#panel1 {
    padding: 10px;
    display: none;
    background-color: #3f51b5;
    color:white;
}

#flip2 {
    padding: 15px;
    text-align: center;
    background-color: #b8340e;
    border-bottom:3px solid #b8340e;
    border: solid 1px #b8340e;
    color:white;

}

#panel2 {
    padding: 10px;
    display: none;
    background-color: #c8402a;
    color:white;
}

No comments:

Post a Comment