Beautified the timeline on Archive page.
This commit is contained in:
parent
daaad546bb
commit
e7c689e255
1 changed files with 35 additions and 37 deletions
|
@ -221,7 +221,7 @@ body {
|
||||||
left: 260px; /* same as sidebar width */
|
left: 260px; /* same as sidebar width */
|
||||||
right: 0;
|
right: 0;
|
||||||
transition: top 0.2s ease-in-out;
|
transition: top 0.2s ease-in-out;
|
||||||
z-index: 1;
|
z-index: 99;
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.07);
|
border-bottom: 1px solid rgba(0, 0, 0, 0.07);
|
||||||
box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.05);
|
box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.05);
|
||||||
}
|
}
|
||||||
|
@ -965,16 +965,16 @@ a.tag:hover {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
font-family: 'Oswald', sans-serif;
|
font-family: 'Oswald', sans-serif;
|
||||||
position: relative;
|
position: relative;
|
||||||
left: 5px;
|
left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#archives span.lead:not(:first-child) {
|
#archives span.lead:not(:first-child) {
|
||||||
position: relative;
|
position: relative;
|
||||||
left: 3px;
|
left: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#archives span.lead:not(:first-child)::after {
|
#archives span.lead:not(:first-child)::after {
|
||||||
left: 65px;
|
left: 67px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#archives span.lead::after { /* Year dot */
|
#archives span.lead::after { /* Year dot */
|
||||||
|
@ -984,13 +984,15 @@ a.tag:hover {
|
||||||
-webkit-border-radius: 50%;
|
-webkit-border-radius: 50%;
|
||||||
-moz-border-radius: 50%;
|
-moz-border-radius: 50%;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
width: 10px;
|
width: 12px;
|
||||||
height: 10px;
|
height: 12px;
|
||||||
top: -26px;
|
top: -26px;
|
||||||
left: 63px;
|
left: 63px;
|
||||||
border: 2px solid;
|
border: 3px solid;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
border-color: #9e9e9e;
|
border-color: #c2c6cc;
|
||||||
|
box-shadow: 0 0 2px 0 #c2c6cc;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#archives .date {
|
#archives .date {
|
||||||
|
@ -1001,7 +1003,6 @@ a.tag:hover {
|
||||||
width: 1.4rem;
|
width: 1.4rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-family: 'Oswald', sans-serif;
|
font-family: 'Oswald', sans-serif;
|
||||||
// background: yellowgreen;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#archives .date.day {
|
#archives .date.day {
|
||||||
|
@ -1012,7 +1013,6 @@ a.tag:hover {
|
||||||
width: 1.2rem;
|
width: 1.2rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
left: -.15rem;
|
left: -.15rem;
|
||||||
// background: aquamarine;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#archives ul>li>div>a {
|
#archives ul>li>div>a {
|
||||||
|
@ -1022,7 +1022,7 @@ a.tag:hover {
|
||||||
top: .1rem;
|
top: .1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#archives .date.month~a::before {
|
#archives .date.month ~ a::before {
|
||||||
/* A dot for Month and Day */
|
/* A dot for Month and Day */
|
||||||
content: "";
|
content: "";
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -1030,42 +1030,40 @@ a.tag:hover {
|
||||||
-webkit-border-radius: 50%;
|
-webkit-border-radius: 50%;
|
||||||
-moz-border-radius: 50%;
|
-moz-border-radius: 50%;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
width: 6px;
|
width: 8px;
|
||||||
height: 6px;
|
height: 8px;
|
||||||
float: left;
|
float: left;
|
||||||
top: 20px;
|
top: 1.35rem;
|
||||||
left: 68px;
|
left: 69px;
|
||||||
background-color: #9e9e9e;
|
background-color: #c2c6cc;
|
||||||
|
box-shadow: 0 0 3px 0 #c2c6cc;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* timeline for date */
|
||||||
|
#archives ul>li::after,
|
||||||
|
#archives ul>li:first-child::before {
|
||||||
|
content: "";
|
||||||
|
width: 4px;
|
||||||
|
left: 75px;
|
||||||
|
display: inline-block;
|
||||||
|
float: left;
|
||||||
|
position: relative;
|
||||||
|
background-color: rgba(0, 0, 0, 0.075);
|
||||||
}
|
}
|
||||||
|
|
||||||
#archives ul>li::after {
|
#archives ul>li::after {
|
||||||
/* timeline for date */
|
height: 2.8rem;
|
||||||
content: "";
|
top: -1.3rem;
|
||||||
height: 39px;
|
|
||||||
top: -19px;
|
|
||||||
left: 72px;
|
|
||||||
display: inline-block;
|
|
||||||
float: left;
|
|
||||||
position: relative;
|
|
||||||
background-color: #ffffff;
|
|
||||||
border: 1px dashed silver;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#archives ul>li:first-child::before {
|
#archives ul>li:first-child::before {
|
||||||
content: "";
|
height: 3.06rem;
|
||||||
width: 2px;
|
top: -1.61rem;
|
||||||
height: 44px;
|
|
||||||
top: -24px;
|
|
||||||
left: 72px;
|
|
||||||
display: inline-block;
|
|
||||||
float: left;
|
|
||||||
position: relative;
|
|
||||||
background-color: #ffffff;
|
|
||||||
border: 1px dashed silver;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#archives ul:not(:last-child)>li:last-child::after {
|
#archives ul:not(:last-child)>li:last-child::after {
|
||||||
height: 50px;
|
height: 3.4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#archives ul:last-child>li:last-child::after {
|
#archives ul:last-child>li:last-child::after {
|
||||||
|
|
Loading…
Reference in a new issue