mirror of
https://github.com/10h30/trestle.git
synced 2026-07-20 15:13:46 +09:00
Merge pull request #39 from MIGHTYminnow/reorganize-css
Quick audit of spacing in CSS
This commit is contained in:
@@ -129,7 +129,6 @@ input[type="search"] {
|
|||||||
display: table;
|
display: table;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Defaults
|
Defaults
|
||||||
---------------------------------------------------------------------------------------------------- */
|
---------------------------------------------------------------------------------------------------- */
|
||||||
@@ -642,7 +641,6 @@ td {
|
|||||||
padding: 0.6rem 0;
|
padding: 0.6rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Structure and Layout
|
Structure and Layout
|
||||||
---------------------------------------------------------------------------------------------------- */
|
---------------------------------------------------------------------------------------------------- */
|
||||||
@@ -682,7 +680,6 @@ Structure and Layout
|
|||||||
padding: 20px;
|
padding: 20px;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry,
|
.entry,
|
||||||
@@ -701,6 +698,7 @@ Structure and Layout
|
|||||||
|
|
||||||
/* Bubble Layout
|
/* Bubble Layout
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
.bubble .entry,
|
.bubble .entry,
|
||||||
.bubble .sidebar .widget,
|
.bubble .sidebar .widget,
|
||||||
.bubble .ez-widget-area,
|
.bubble .ez-widget-area,
|
||||||
@@ -792,7 +790,6 @@ Structure and Layout
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Common Classes
|
Common Classes
|
||||||
---------------------------------------------------------------------------------------------------- */
|
---------------------------------------------------------------------------------------------------- */
|
||||||
@@ -971,7 +968,6 @@ img.alignright,
|
|||||||
margin-bottom: 2.4rem;
|
margin-bottom: 2.4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Plugins & Widgets
|
Plugins & Widgets
|
||||||
---------------------------------------------------------------------------------------------------- */
|
---------------------------------------------------------------------------------------------------- */
|
||||||
@@ -1066,7 +1062,6 @@ Plugins & Widgets
|
|||||||
margin-bottom: 28px;
|
margin-bottom: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Gravity Forms
|
/* Gravity Forms
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
@@ -1135,7 +1130,6 @@ img#wpstats {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Jetpack - Blog Subscriptions
|
/* Jetpack - Blog Subscriptions
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
@@ -1308,7 +1302,6 @@ th a.wpv-header-desc:after {
|
|||||||
top: auto;
|
top: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Site Header
|
Site Header
|
||||||
---------------------------------------------------------------------------------------------------- */
|
---------------------------------------------------------------------------------------------------- */
|
||||||
@@ -1365,7 +1358,6 @@ Site Header
|
|||||||
top: -9999px;
|
top: -9999px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Logo
|
/* Logo
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
@@ -1377,7 +1369,6 @@ Site Header
|
|||||||
display: inline-block !important;
|
display: inline-block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Header Widget Areas
|
/* Header Widget Areas
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
@@ -1396,7 +1387,6 @@ Site Header
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Header Toggle Styles
|
/* Header Toggle Styles
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
@@ -1577,10 +1567,10 @@ Site Navigation
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
-webkit-transition: opacity .4s ease-in-out;
|
-webkit-transition: opacity .4s ease-in-out;
|
||||||
-moz-transition: opacity .4s ease-in-out;
|
-moz-transition: opacity .4s ease-in-out;
|
||||||
-ms-transition: opacity .4s ease-in-out;
|
-ms-transition: opacity .4s ease-in-out;
|
||||||
-o-transition: opacity .4s ease-in-out;
|
-o-transition: opacity .4s ease-in-out;
|
||||||
transition: opacity .4s ease-in-out;
|
transition: opacity .4s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.genesis-nav-menu [class*="current-"] > ul,
|
.genesis-nav-menu [class*="current-"] > ul,
|
||||||
@@ -1626,7 +1616,6 @@ Site Navigation
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Primary Navigation
|
/* Primary Navigation
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
@@ -1686,7 +1675,6 @@ Site Navigation
|
|||||||
margin: 0 0 0 0.5em;
|
margin: 0 0 0 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Secondary Navigation
|
/* Secondary Navigation
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
@@ -1700,7 +1688,6 @@ Site Navigation
|
|||||||
color: #111;
|
color: #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Header Navigation
|
/* Header Navigation
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
@@ -1727,7 +1714,6 @@ Site Navigation
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Header Primary Navigation
|
/* Header Primary Navigation
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
@@ -1756,7 +1742,6 @@ Site Navigation
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Content Area
|
Content Area
|
||||||
---------------------------------------------------------------------------------------------------- */
|
---------------------------------------------------------------------------------------------------- */
|
||||||
@@ -1836,7 +1821,6 @@ Content Area
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.archive-pagination li {
|
.archive-pagination li {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
@@ -1853,7 +1837,6 @@ Content Area
|
|||||||
padding: 0.8rem 1.2rem;
|
padding: 0.8rem 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.pagination-next a:hover,
|
.pagination-next a:hover,
|
||||||
.pagination-previous a:hover,
|
.pagination-previous a:hover,
|
||||||
.archive-pagination li a:hover,
|
.archive-pagination li a:hover,
|
||||||
@@ -1949,7 +1932,6 @@ li.comment {
|
|||||||
padding: 2.4rem;
|
padding: 2.4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Sidebars
|
Sidebars
|
||||||
---------------------------------------------------------------------------------------------------- */
|
---------------------------------------------------------------------------------------------------- */
|
||||||
@@ -2049,7 +2031,6 @@ Footer Widgets
|
|||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Site Footer
|
Site Footer
|
||||||
---------------------------------------------------------------------------------------------------- */
|
---------------------------------------------------------------------------------------------------- */
|
||||||
@@ -2080,7 +2061,6 @@ Site Footer
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
General Components
|
General Components
|
||||||
---------------------------------------------------------------------------------------------------- */
|
---------------------------------------------------------------------------------------------------- */
|
||||||
@@ -2110,12 +2090,10 @@ table.ui-datepicker-calendar {
|
|||||||
margin-right: -125px;
|
margin-right: -125px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Specific Pages
|
Specific Pages
|
||||||
---------------------------------------------------------------------------------------------------- */
|
---------------------------------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Media Queries
|
Media Queries
|
||||||
---------------------------------------------------------------------------------------------------- */
|
---------------------------------------------------------------------------------------------------- */
|
||||||
@@ -2168,6 +2146,7 @@ Media Queries
|
|||||||
|
|
||||||
/* Responsive Tables CSS
|
/* Responsive Tables CSS
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
@media (max-width: 600px) {
|
@media (max-width: 600px) {
|
||||||
|
|
||||||
table {
|
table {
|
||||||
@@ -2487,6 +2466,7 @@ Media Queries
|
|||||||
|
|
||||||
/* Non-Mobile Navigation
|
/* Non-Mobile Navigation
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
#menu-toggle,
|
#menu-toggle,
|
||||||
.widget-area-toggle {
|
.widget-area-toggle {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -2531,15 +2511,14 @@ Media Queries
|
|||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Primary Navigation
|
/* Primary Navigation
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
.nav-primary a {
|
.nav-primary a {
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
padding-right: 2rem;
|
padding-right: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Navigation Extras
|
/* Navigation Extras
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
@@ -2663,11 +2642,11 @@ Media Queries
|
|||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Plugins
|
/* Plugins
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
/* Events Manager */
|
/* Events Manager */
|
||||||
|
|
||||||
.em-calendar-wrapper .fullcalendar tr {
|
.em-calendar-wrapper .fullcalendar tr {
|
||||||
display: table-row !important;
|
display: table-row !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user