Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10 11 rebranding #12

Merged
merged 5 commits into from
Jun 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
248 changes: 130 additions & 118 deletions wp-content/themes/wisconsinwatch/css/child.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-content/themes/wisconsinwatch/css/child.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-content/themes/wisconsinwatch/css/child.min.css

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions wp-content/themes/wisconsinwatch/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function child_stylesheet() {
'wcij',
get_stylesheet_directory_uri() . '/css/child' . $suffix . '.css',
null,
filemtime( get_stylesheet_directory() . '/css/child.css' )
filemtime( get_stylesheet_directory() . '/css/child' . $suffix . '.css' )
);
}
add_action( 'wp_enqueue_scripts', 'child_stylesheet', 20 );
Expand Down Expand Up @@ -149,10 +149,6 @@ function wcij_largo_header_before_largo_header() {
* @since Largo 0.5.5
*/
function wcij_largo_header_after_largo_header() {
?>
<p itemprop="description">Produced by the <strong>Wisconsin Center for Investigative Journalism</strong></p>

<?php
if ( is_front_page() || is_home() ) {
?>
<div class="newsletter-signup">
Expand Down
2 changes: 1 addition & 1 deletion wp-content/themes/wisconsinwatch/less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
font-size: 32px;
}
.gsection {
border-bottom: 1px solid @ltgray;
border-bottom: 1px solid @gray;
}
.field_sublabel_above {
height: auto;
Expand Down
44 changes: 39 additions & 5 deletions wp-content/themes/wisconsinwatch/less/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
p {
display: block;
font-size: 15px;
color: #7d7a7c;
color: @grey;
margin: -14px 0 12px 28px;
}
h3 {
font-size: 13px;
font-family: 'ff-dagny-web-pro', Helvetica, Arial, sans-serif;
font-weight: normal;
color: #7EB4CF;
color: @blue;
text-align: center;
letter-spacing: 0.055em;
text-transform: uppercase;
Expand All @@ -36,15 +36,15 @@
}
.newsletter-signup {
width: 262px;
color: #666;
color: @grey;
position: absolute;
top: 25px;
right: 0;
margin-left: 20px;
z-index: 999;

.error {
color: #666;
color: @grey;
font-size: 12px;
display: none;
}
Expand Down Expand Up @@ -82,7 +82,7 @@
form input[type="text"],
form input[type="email"]{ width: 226px; }
form label {
color: #666;
color: @grey;
font-size: 16px;
}
.toggleable {
Expand All @@ -94,3 +94,37 @@
}
}
}
#main-nav {
margin-bottom: 0;

.caret:before {
border-top: 6px solid @blue;
}
.open > a,
html.no-touch & li > a:hover {
background-color: @blue;
color: white;
}
html.no-touch & li > a:hover .caret:before {
border-top: 6px solid white;
}

li > a {
color: @blue
}
.navbar-inner {
background-color: #fff;
padding-left: 0;
border-top: 2px solid @grey;
border-bottom: 1px solid @grey;
}
}
#sticky-nav {
li a {
color: @black;
}
}
.donate-btn {
.icon-heart { display: none; }
a:hover { color: white; }
}
48 changes: 48 additions & 0 deletions wp-content/themes/wisconsinwatch/less/homepage.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/* Homepage list/river view */
.view-list #view-format li {
border-right: 1px solid @grey;
}
.stories {
.entry-content .byline {
margin-bottom: 12px;
font-weight: normal;
font-size: 13.04px;
}
article {
border-bottom: 1px solid @grey;
margin-bottom: 26px;

img.attachment-post-thumbnail {
margin: 5px 15px 10px 0;
}

p > a {
font-family: @sans;
font-size: 14px;
font-weight: bold;
display: inline-block;
}
}
}

#home-secondary {
.span4:nth-of-type(3) {
.largo-recent-posts h5 {
font-weight: normal;
font-family: @sans;
}
}
/* Widgets in secondary area, under homepage hero unit */
.span12,
.widget {
font-family: @sans;
padding: 0;
}
.widget .widgettitle,
#home-secondary .widget .widgettitle a,
.widget.largo-series-posts h5.top-tag,
.widget.largo-series-posts h5.top-tag a {
color: @grey;
font-weight: normal;
}
}
110 changes: 8 additions & 102 deletions wp-content/themes/wisconsinwatch/less/legacy-css.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ h1, h2, h3, h4, h5, h6 {
font-family: 'minion-pro', Georgia, serif;
font-weight: 600;
}
a {
color: #0065a4;
}
a:hover {
color: #729eca;
}
h5.top-tag,
h5.top-date,
.sidebar2 h5,
Expand All @@ -33,7 +27,7 @@ p.wp-media-credit,
.widget p,
.widget ul,
.single-post .sidebar2 {
font-family: 'ff-dagny-web-pro', Helvetica, Arial, sans-serif;
font-family: @sans;
letter-spacing: 0.035em;
}
#dark-top {
Expand All @@ -43,39 +37,12 @@ h5.top-tag,
h5.top-date {
font-weight: 400;
}
h5.top-date {
font-style: italic;
color: #777;
}
.global-nav .nav-right .org-logo {
margin-right: 0;
}
#main-nav {
margin-bottom: 0;
}
#main-nav .navbar-inner {
background-color: #fff;
padding-left: 0;
border-top: 2px solid #aaa;
border-bottom: 1px solid #aaa;
}
#main-nav li > a {
color: #0065a4;
}
#main-nav .caret:before {
border-top: 6px solid #0065a4;
}
#main-nav .open > a,
html.no-touch #main-nav li > a:hover {
background-color: #1e67a5;
color: #eee;
}
.home #topics-bar {
border-bottom: 0;
}
html.no-touch #main-nav li > a:hover .caret:before {
border-top: 6px solid #eee;
}
#secondary-nav #menu-dont-miss {
padding-left: 10px;
padding-top: 5px;
Expand Down Expand Up @@ -125,14 +92,6 @@ body.normal.page .hero {
margin: 0 auto;
width: 70%;
}
.single-post article.post .sep {
display: none;
}
.single-post h2.subtitle {
font-size: 21px;
font-weight: normal;
color: #999;
}
.single-post .hero {
background-color: #fff;
}
Expand Down Expand Up @@ -165,27 +124,8 @@ p.wp-caption-text {
margin: 5px 15px 10px 0;
}

/* Donate widget */
.donate-btn .icon-heart { display: none; }
.largo-donate a.btn {
font-family: 'ff-dagny-web-pro', Helvetica, Arial, sans-serif;
background-color: #bd261d;
padding: 10px 17px;
font-size: 20px;
line-height: normal;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
.largo-donate a.btn:hover {
background-color: #d32a20;
}
.largo-donate h3.widgettitle {
text-transform: none;
font-size: 18px;
}
#before-footer {
font-family: 'ff-dagny-web-pro', Helvetica, Arial, sans-serif;
font-family: @sans;
position: relative;
}
#before-footer .largo-donate {
Expand All @@ -205,7 +145,7 @@ p.wp-caption-text {
}
.single-post #before-footer .largo-donate { display: none; }
.article-bottom .largo-donate {
font-family: 'ff-dagny-web-pro', Helvetica, Arial, sans-serif;
font-family: @sans;
text-align: center;
margin: 0;
}
Expand All @@ -218,7 +158,7 @@ p.wp-caption-text {

/* About author box */
span.author-posts-link {
font-family: 'ff-dagny-web-pro', Helvetica, Arial, sans-serif;
font-family: @sans;
font-size: 14px;
font-weight: bold;
float: right;
Expand All @@ -239,19 +179,6 @@ span.author-posts-link a:after {
opacity: 1;
}

/* Widgets in secondary area, under homepage hero unit */
#home-secondary .span12,
#home-secondary .widget {
font-family: "ff-dagny-web-pro",Helvetica,Arial,sans-serif;
padding: 0;
}
#home-secondary .widget .widgettitle,
#home-secondary .widget .widgettitle a,
.widget.largo-series-posts h5.top-tag,
.widget.largo-series-posts h5.top-tag a {
color: #999;
font-weight: normal;
}
#home-secondary .widget_sp_image a.widget_sp_image-image-link img {
width: 100%;
}
Expand Down Expand Up @@ -298,27 +225,6 @@ span.author-posts-link a:after {
}

/* Homepage list/river view */
.view-list #view-format li {
border-right: 1px solid #777;
}
.stories article {
border-bottom: 1px solid #ddd;
margin-bottom: 26px;
}
.stories article p > a {
font-family: "ff-dagny-web-pro",Helvetica,Arial,sans-serif;
font-size: 14px;
font-weight: bold;
display: inline-block;
}
.stories article img.attachment-post-thumbnail {
margin: 5px 15px 10px 0;
}
.stories .entry-content .byline {
margin-bottom: 12px;
font-weight: normal;
font-size: 13.04px;
}

/* footer */
#site-footer ul,
Expand Down Expand Up @@ -381,7 +287,7 @@ span.author-posts-link a:after {
font-weight: bold;
margin-bottom: 8px;
padding-bottom: 3px;
border-bottom: 1px solid #555;
border-bottom: 1px solid @grey;
}
#site-footer .widget_nav_menu ul.sub-menu > li {
font-size: 13.04px;
Expand Down Expand Up @@ -441,7 +347,7 @@ span.author-posts-link a:after {
.secondary-featured-post {
background-color: #fff;
padding: 0 0 24px 0;
border-bottom: 1px solid #ddd;
border-bottom: 1px solid @grey;
margin-bottom: 24px;
}
.primary-featured-post .span8 h2.entry-title {
Expand Down Expand Up @@ -474,7 +380,7 @@ article img.attachment-post-thumbnail {
* Paupress/Partner Downlaods
*/
.paucontent-login a.button {
background-color: #333;
background-color: @grey;
padding: 12px 24px;
border-radius: 8px;
-moz-border-radius: 8px;
Expand Down Expand Up @@ -727,7 +633,7 @@ article img.attachment-post-thumbnail {
.archive .secondary-featured-post article {
margin: 0 0 8px 0;
padding: 0 0 8px 0;
border-bottom: 1px solid #ddd;
border-bottom: 1px solid @grey;
}
.archive .secondary-featured-post article:last-child {
margin: 0;
Expand Down
Loading