Hoja de estilos para timeline

This commit is contained in:
humano 2015-05-27 16:55:21 -05:00
parent c568265dea
commit 4c4a11dd1d

View File

@ -1,50 +1,17 @@
/* * {
h1,h2,h4,h5,h6 { margin: 0;
text-align: center; padding: 0;
color: #ccc; }
margin-bottom: 5px; body {
} background: #222;
h1 { font-family: Georgia, serif;
font-size: 18px; color: #fff;
}
h2 {
font-size: 14px; font-size: 14px;
} }
.sociales { a {
text-align: center; color: #ffffcc;
margin-bottom: 20px;
}
*/
#timeline {
width: 95%;
height: 500px;
overflow: auto;
margin: 100px auto;
position: relative;
}
#dates {
width: 100%;
height: 60px;
overflow: hidden;
background: url('timeline/dot.gif') left 45px repeat-x;
}
#dates li {
list-style: none;
float: left;
width: 100px;
height: 50px;
font-size: 24px;
text-align: center;
background: url('timeline/biggerdot.png') center bottom no-repeat;
}
#dates a {
line-height: 10px !important;
font-size: 14px !important;
padding-bottom: 10px;
color: gray !important;
text-decoration: none; text-decoration: none;
-webkit-transition: 0.5s; -webkit-transition: 0.5s;
-moz-transition: 0.5s; -moz-transition: 0.5s;
@ -52,22 +19,74 @@ h1,h2,h4,h5,h6 {
-ms-transition: 0.5s; -ms-transition: 0.5s;
transition: 0.5s; transition: 0.5s;
} }
#dates a:hover, a:hover,
#dates a.selected { a.selected {
color: black !important; color: #ffcc00;
}
h1,h2,h4,h5,h6 {
text-align: center;
color: #ccc;
text-shadow: #000 1px 1px 2px;
margin-bottom: 5px;
}
h1 {
font-size: 14px;
}
h2 {
font-size: 12px;
}
#titulo_timeline {
font-size: 24px;
color: #ffcc00;
}
#descripcion_timeline {
font-size: 10px;
}
#timeline {
width: 800px;
height: 100%;
overflow: hidden;
margin: 50px auto;
position: relative;
background: url('timeline/dot.gif') left 45px repeat-x;
}
#dates {
width: 800px;
height: 60px;
overflow: hidden;
}
#dates li {
list-style: none;
float: left;
width: 100px;
height: 50px;
font-size: 12px;
text-align: center;
background: url('timeline/biggerdot.png') center bottom no-repeat;
}
#dates a {
line-height: 12px;
padding-bottom: 10px;
} }
#dates .selected { #dates .selected {
font-size: 18px !important; font-size: 12px;
z-index:10000;
background-color: black;
} }
#issues { #issues {
width: 100%; width: 800px;
height: 500px;*/ height: 350px;
overflow: hidden; overflow: auto;
} }
#issues li { #issues li {
width: 100%; width: 800px;
height: 500px; height: 350px;
list-style: none; list-style: none;
float: left; float: left;
} }
@ -97,23 +116,22 @@ h1,h2,h4,h5,h6 {
transform: scale(0.7,0.7); transform: scale(0.7,0.7);
} }
#issues li h1 { #issues li h1 {
color: red; color: #ffcc00;
font-size: 60px !important; font-size: 24px;
margin: 20px 0; margin: 20px 0;
//text-shadow: #000 1px 1px 2px; text-shadow: #000 1px 1px 2px;
} }
#issues li p { #issues li p {
font-size: 14px; font-size: 14px;
margin-right: 70px; margin-right: 70px;
font-weight: normal; font-weight: normal;
line-height: 22px; line-height: 22px;
//text-shadow: #000 1px 1px 2px; text-shadow: #000 1px 1px 2px;
} }
#grad_left, #grad_left,
#grad_right { #grad_right {
width: 100px; width: 100px;
height: 500px; height: 350px;
position: absolute; position: absolute;
top: 0; top: 0;
} }