Skip to content

Instantly share code, notes, and snippets.

@musamamasood
Created September 30, 2016 02:37
Show Gist options
  • Save musamamasood/3d70b566ea7835aa345821d615fc288e to your computer and use it in GitHub Desktop.
Save musamamasood/3d70b566ea7835aa345821d615fc288e to your computer and use it in GitHub Desktop.
Widget Style
/**
* 10.0 - Widgets
*/
#blog-sidebar .widget {
border-top: 4px solid #FECE00;
margin-bottom: 3.5em;
padding-top: 1.75em;
}
#blog-sidebar .widget-area > :last-child,
#blog-sidebar .widget > :last-child {
margin-bottom: 0;
}
#blog-sidebar .widget .widget-title {
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
font-size: 16px;
font-size: 1rem;
letter-spacing: 0.046875em;
line-height: 1.3125;
margin: 0 0 1.75em;
text-transform: uppercase;
}
#blog-sidebar .widget .widget-title:empty {
margin-bottom: 0;
}
#blog-sidebar .widget-title a {
color: #1a1a1a;
}
/* Calendar widget */
.widget.widget_calendar table {
margin: 0;
}
.widget_calendar td,
.widget_calendar th {
line-height: 2.5625;
padding: 0;
text-align: center;
}
.widget_calendar caption {
font-weight: 900;
margin-bottom: 1.75em;
}
.widget_calendar tbody a {
background-color: #007acc;
color: #fff;
display: block;
font-weight: 700;
}
.widget_calendar tbody a:hover,
.widget_calendar tbody a:focus {
background-color: #686868;
color: #fff;
}
/* Recent Posts widget */
.widget_recent_entries .post-date {
color: #686868;
display: block;
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
font-size: 13px;
font-size: 0.8125rem;
line-height: 1.615384615;
margin-bottom: 0.538461538em;
}
.widget_recent_entries li:last-child .post-date {
margin-bottom: 0;
}
/* RSS widget */
.widget_rss .rsswidget img {
margin-top: -0.375em;
}
.widget_rss .rss-date,
.widget_rss cite {
color: #686868;
display: block;
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
font-size: 13px;
font-size: 0.8125rem;
font-style: normal;
line-height: 1.615384615;
margin-bottom: 0.538461538em;
}
.widget_rss .rssSummary:last-child {
margin-bottom: 2.1538461538em;
}
.widget_rss li:last-child :last-child {
margin-bottom: 0;
}
/* Tag Cloud widget */
.tagcloud a {
border: 1px solid #FECE00;
border-radius: 2px;
display: inline-block;
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
line-height: 1;
margin: 0 0.1875em 0.4375em 0;
padding: 0.5625em 0.4375em 0.5em;
}
.tagcloud a:hover,
.tagcloud a:focus {
border-color: #007acc;
color: #007acc;
outline: 0;
}
/*==========*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment