timeline.css 5.99 KB

.all{
    width :100%;
    height :100%;
}
.top{
    width :100%;
    height :15%;
    float:left;
}
#title{
    width :60%;
    height :15%;
    float:left;
}
#title img{
    height: 100px;
    width : auto;
    margin-left : 20px;
    float:left;
}#title img:hover{
    opacity: 0.6;
}
#btn_area{
    width:40%;
    height :15%;
    float:left;
    vertical-align: middle;
}
#start{
    border: 1px solid dimgray; 
    background-color: dimgray; 
    line-height: 1;
    font-size: 17px;
    width: 150px;
    height :40px;
    padding:10px 15px;
    display: block;
    box-sizing: border-box;
    color: white;
    font-weight: 100;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
    margin-left : 20px;
}
#start:hover{
    background-color: white;
    color: dimgray;
}
button.p_btn{
    border: 1px solid dimgray; 
    background-color: dimgray; 
    line-height: 1;
    font-size: 17px;
    width: 50px;
    height :50px;
    padding:10px 15px;
    display: block;
    box-sizing: border-box;
    color: white;
    font-weight: 100;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}
button.p_btn:hover{
    background-color: white;
    color: dimgray;
}
#date{
    border: 1px solid dimgray; 
    background-color: white; 
    line-height: 1;
    font-size: 17px;
    width: 200px;
    height :40px;
    padding:10px 15px;
    display: block;
    box-sizing: border-box;
    border-radius: 60px;
    color: dimgray;
    font-weight: 100;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
    margin-left: 10px;
}
p.float_left{
    float:left;
}
p.float_right{
    float:right;
}
#content{
    width :90%;
    height :80%;
    overflow-y: auto;
    position: absolute;
    left : 5%;
    bottom:5%;
    background-color: #FFFFFF;
}
/* -----------------------------------------------
* Timeline
* --------------------------------------------- */
.main-timeline{
    font-family: 'Roboto Condensed', sans-serif;
    position: relative;
}
.main-timeline:after{
    content: '';
    display: block;
    clear: both;
}
.main-timeline:before{
    content: '';
    height: 100%;
    width: 7px;
    border-left: 7px dashed #999;
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    top: 0;
}
.main-timeline .timeline{
    width: 45%;
    padding: 0 0 0 40px;
    margin: 0 0 0 20px;
    float: right;
    position: relative;
}
.main-timeline .timeline:after{
    content: '';
    background-color: #6044F0;
    height: 35px;
    width: 40px;
    position: absolute;
    left: 0;
    top: 60px;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
.main-timeline .timeline-content{
    color: #555;
    text-align: center;
    padding: 35px 40px 35px;
    display: block;
    position: relative;
    z-index: 1;
}
.main-timeline .timeline-content:hover{ text-decoration: none; }
.main-timeline .timeline-content:before,
.main-timeline .timeline-content:after{
    content: '';
    background-color: #fff;
    border-radius: 50px 0;
    box-shadow: 0 0 10px -3px rgba(0,0,0,0.5);
    position: absolute;
    left: 10px;
    bottom: 10px;
    right: 0;
    top: 0;
    z-index: -1;
}
.main-timeline .timeline-content:after{
    background-color: transparent;
    box-shadow: none;
    border: 2px solid #6044F0;
    left: 0;
    bottom: 0;
    right: 10px;
    top: 10px;
}
.main-timeline .timeline-icon{
    color: #fff;
    background-color: #000;
    font-size: 25px;
    text-align: center;
    line-height: 50px;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
}
.main-timeline .title{
    color: #6044F0;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px;
}
.main-timeline .description{
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0 0 0 10px;
}
.main-timeline .timeline:nth-child(even){
    float: left;
    padding: 0 40px 0 0;
    margin: 0 20px 0 0;
}
.main-timeline .timeline:nth-child(even):after{
    transform: rotateY(180deg);
    left: auto;
    right: 0;
}
.main-timeline .timeline:nth-child(even) .timeline-content:before,
.main-timeline .timeline:nth-child(even) .timeline-content:after{
    border-radius: 0 50px;
}
.main-timeline .timeline:nth-child(even) .timeline-icon{
    left: auto;
    right: 0;
}
.main-timeline .timeline:nth-child(4n+2):after{ background-color: #FF3754; }
.main-timeline .timeline:nth-child(4n+2) .timeline-content:after{ border-color: #FF3754; }
.main-timeline .timeline:nth-child(4n+2) .title{ color: #FF3754; }
.main-timeline .timeline:nth-child(4n+3):after{ background-color: #01C1E1; }
.main-timeline .timeline:nth-child(4n+3) .timeline-content:after{ border-color: #01C1E1; }
.main-timeline .timeline:nth-child(4n+3) .title{ color: #01C1E1; }
.main-timeline .timeline:nth-child(4n+4):after{ background-color: #10B175; }
.main-timeline .timeline:nth-child(4n+4) .timeline-content:after{ border-color: #10B175; }
.main-timeline .timeline:nth-child(4n+4) .title{ color: #10B175; }
@media screen and (max-width:767px){
    .main-timeline:before{ display: none; }
    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even){
        width: 100%;
        padding: 0 0 35px 0;
        margin: 0;
    }
    .main-timeline .timeline:last-child{ padding: 0; }
    .main-timeline .timeline:after,
    .main-timeline .timeline:nth-child(even):after{
        transform: translateX(-50%) rotate(-90deg);
        left: 50%;
        top: auto;
        bottom: 0;
    }
    .main-timeline .timeline:last-child:after{ display: none; }
}
@media screen and (max-width:576px){
    .main-timeline .title{ font-size: 18px; }
}
p.text-right{
    text-align: right;
}
.shadow-textarea textarea.form-control::placeholder {
    font-weight: 300;
}
.shadow-textarea textarea.form-control {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    width:80%;
    margin-top: 10px;
    margin-left:5px;
}
.fa-chevron-left{
    margin-left :5px;
    margin-right : 5px;
    color: dimgray;
}
.fa-chevron-left:hover{
    opacity: 0.5;
}