Skip to content

Commit

Permalink
Merge pull request #603 from mlibrary/fixup/penn-state
Browse files Browse the repository at this point in the history
Fixup/penn state
  • Loading branch information
sethaj authored Nov 16, 2016
2 parents a381742 + 579ae70 commit 02f77a6
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 57 deletions.
118 changes: 64 additions & 54 deletions app/assets/stylesheets/themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,8 @@ $psu-brand-accent: #6cc;
$psu-link: #00527b;
$psu-white: #fff;
$psu-jumbotron: #efefef;
$psu-gray-2: #302f32;
$psu-gray-1: #3F4550;


// typography
Expand Down Expand Up @@ -532,7 +534,7 @@ $psu-jumbotron: #efefef;

#brand-bar {
background-color: $psu-brand-color;
height: 6em;
height: 8.5em;

.container {
height: 100%;
Expand All @@ -542,19 +544,26 @@ $psu-jumbotron: #efefef;
background-image: image-url("pennstate.png");
background-position: 0px 11px;
background-repeat: no-repeat;
height: 100%;
height: 6em;
display: block;
width: 100%;
margin-top: 1em;
}

.navbar-brand {
color: $psu-brand-color-alt;
@include jenson-display;
padding-left: 163px;
padding-top: 33px;
width: inherit;
text-align: right;
font-size: 1.5em;

}

form {
padding-top: 14px;
form.navbar-form {
position: relative;
top: -3em;
padding-right: 2.5em;
float: right !important;
}

.navbar-nav {
Expand All @@ -571,7 +580,8 @@ $psu-jumbotron: #efefef;
}

.navbar-right {
padding-top: 14px;
margin-top: -3em;
margin-right: 1em;
}

}
Expand Down Expand Up @@ -663,8 +673,6 @@ $psu-jumbotron: #efefef;
color: $psu-white;
}



.press-block-a,
.press-block-b {
background-color: $psu-brand-color-alt;
Expand All @@ -682,24 +690,15 @@ $psu-jumbotron: #efefef;
}

p {
@include jenson-display;
background-image: image-url("pennstate-blue.png");
background-position: 0px 11px;
background-repeat: no-repeat;
height: 60px;
width: 38em;
margin-top: 2.4em;

a.brand {
margin-left: 45px;
position: relative;
top: 18px;
}
padding-top: 8em;
color: $psu-gray-2;
@include proxima-nova;
}

}

.press-block-c {
background-color: $psu-brand-color;
background-color: $psu-gray-2;
}
// .platform {
// background-color: $umn-black-80;
Expand Down Expand Up @@ -751,41 +750,52 @@ $psu-jumbotron: #efefef;
.jumbotron {
padding-top: 48px;
}
.navbar-form {
margin-left: -15px;
margin-right: -15px;
padding: 10px 15px;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
margin-top: 8px;
margin-bottom: 8px;


.input-group {
position: relative;
display: table;
border-collapse: separate;
width: 100%;
}

.input-group .form-control {
position: relative;
z-index: 2;
float: left;
width: 100%;
margin-bottom: 0;
}
#brand-bar {

.input-group-btn {
position: relative;
font-size: 0;
white-space: nowrap;
width: 1%;
.navbar-brand {
margin-top: -2em;
margin-bottom: 2em;
text-align: center;
}


form.navbar-form {
margin-left: -15px;
margin-right: -15px;
padding: 10px 15px;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
margin-top: 8px;
margin-bottom: 8px;
position: inherit;


.input-group {
position: relative;
display: table;
border-collapse: separate;
width: 100%;
}

.input-group .form-control {
position: relative;
z-index: 2;
float: left;
width: 100%;
margin-bottom: 0;
}

.input-group-btn {
position: relative;
font-size: 0;
white-space: nowrap;
width: 1%;
}

}
}
}

}
6 changes: 3 additions & 3 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ def michigan

def pennstate
Press.where(name: 'Penn State University Press').first_or_initialize.tap do |press|
press.logo_path = 'http://www.psupress.org/site_images/logo_psupress.gif'
press.description = 'The Penn State University Press publishes academic books and journals, especially art history, philosophy, literature, religion, and political science. This page is the home of supplemental content for select Penn State University Press books. You can find the full catalog of Penn State titles on the [publisher\'s website](http://www.psupress.org/).'
press.footer_block_a = '© Penn State University 2016'
press.logo_path = 'pennstate.png'
press.description = 'Penn State University Press publishes books and journals of the highest quality for a worldwide audience of scholars, students, and non-academic readers, with an emphasis on core fields of the humanities and social sciences. This page features supplemental content for select PSU Press titles. You can find the complete catalog of our publications and additional information about the Press on our [website](http://www.psupress.org/).'
press.footer_block_a = '© Penn State University Press 2016'
press.footer_block_c = 'http://www.psupress.org'
press.subdomain = 'pennstate'
press.press_url = 'http://www.psupress.org'
Expand Down

0 comments on commit 02f77a6

Please sign in to comment.