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,73 +1,92 @@
/* * {
margin: 0;
padding: 0;
}
body {
background: #222;
font-family: Georgia, serif;
color: #fff;
font-size: 14px;
}
a {
color: #ffffcc;
text-decoration: none;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-ms-transition: 0.5s;
transition: 0.5s;
}
a:hover,
a.selected {
color: #ffcc00;
}
h1,h2,h4,h5,h6 { h1,h2,h4,h5,h6 {
text-align: center; text-align: center;
color: #ccc; color: #ccc;
text-shadow: #000 1px 1px 2px;
margin-bottom: 5px; margin-bottom: 5px;
} }
h1 { h1 {
font-size: 18px;
}
h2 {
font-size: 14px; font-size: 14px;
} }
h2 {
.sociales { font-size: 12px;
text-align: center; }
margin-bottom: 20px; #titulo_timeline {
} font-size: 24px;
*/ color: #ffcc00;
#timeline {
width: 95%;
height: 500px;
overflow: auto;
margin: 100px auto;
position: relative;
}
#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 { #dates {
width: 100%; width: 800px;
height: 60px; height: 60px;
overflow: hidden; overflow: hidden;
background: url('timeline/dot.gif') left 45px repeat-x;
} }
#dates li { #dates li {
list-style: none; list-style: none;
float: left; float: left;
width: 100px; width: 100px;
height: 50px; height: 50px;
font-size: 24px; font-size: 12px;
text-align: center; text-align: center;
background: url('timeline/biggerdot.png') center bottom no-repeat; background: url('timeline/biggerdot.png') center bottom no-repeat;
} }
#dates a { #dates a {
line-height: 10px !important; line-height: 12px;
font-size: 14px !important;
padding-bottom: 10px; padding-bottom: 10px;
color: gray !important; }
text-decoration: none;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-ms-transition: 0.5s;
transition: 0.5s;
}
#dates a:hover,
#dates a.selected {
color: black !important;
}
#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,33 +116,32 @@ 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;
} }
#grad_left { #grad_left {
left: 0; left: 0;
/* background: url('timeline/grad_left.png') repeat-y;*/ /* background: url('timeline/grad_left.png') repeat-y;*/
} }
#grad_right { #grad_right {
right: 0; right: 0;
/* background: url('timeline/grad_right.png') repeat-y; */ /* background: url('timeline/grad_right.png') repeat-y;*/
} }
#next, #next,