Skip to content

Instantly share code, notes, and snippets.

@floroxmar
Created February 5, 2015 17:09
Show Gist options
  • Save floroxmar/44df529a6b38963a45cb to your computer and use it in GitHub Desktop.
Save floroxmar/44df529a6b38963a45cb to your computer and use it in GitHub Desktop.
Custom archive template CSS
/*
* Custom Archive Page CSS
*/
.ja_archive_page{
display: block;
margin-bottom: 30px;
overflow: hidden;
}
.ja_archive_page ul{
list-style: none;
}
.ja_archive_page ul li:first-child{
border-top: 2px dotted #EEE;
}
.ja_archive_page ul li{
border-bottom: 2px dotted #EEE;
float: left;
list-style: none;
width: 100%;
}
.ja_archive_page ul li a{
color: #666;
display: block;
font-size: 16px;
padding: 5px 0;
}
.ja_archive_page ul li a:hover{
color: #079E80;
}
.ja_archive_page span.archive_post_date {
color: #FFF;
display: inline;
background: #079E80;
margin-right: 21px;
padding: 5px 10px;
font-size: 12px;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-o-border-radius: 5px;
}
.ja_archive_page ul li a:hover span.archive_post_date{
background: #2E2F34;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment