Skip to content

Commit

Permalink
Merge branch 'master' into 72-main-nav
Browse files Browse the repository at this point in the history
* master:
  Added composer.json
  Added composer.json
  215 Logo lockup (#252)

# Conflicts:
#	core/css/decanter.css
#	core/scss/components/index.scss
  • Loading branch information
yvonnetangsu committed Nov 26, 2018
2 parents b50d118 + 0fa0be1 commit 0542fd0
Show file tree
Hide file tree
Showing 8 changed files with 533 additions and 0 deletions.
10 changes: 10 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "su-sws/decanter",
"description": "Stanford Pattern Library and SCSS Framework",
"type": "library",
"homepage": "https://github.com/SU-SWS/decanter",
"authors": [],
"license": "GPL-2.0+",
"minimum-stability": "dev",
"require": {}
}
202 changes: 202 additions & 0 deletions core/css/decanter.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions core/scss/components/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
'hero/index',
'link/index',
'logo/index',
'lockup/index',
'main-nav/index',
'quote/index',
'site-search/index',
Expand Down
89 changes: 89 additions & 0 deletions core/scss/components/lockup/_lockup--two-lines.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
.su-lockup--two-lines {
@include grid-rows(auto auto auto auto auto);

@media #{$breakpoint-md} {
@include grid-rows(auto auto auto);
}

.su-lockup__wordmark {

@media #{$breakpoint-md} {
grid-row: 1 / span 2;
-ms-grid-row: 1;
-ms-grid-row-span: 2;
}
}

.su-lockup__pipe {

@media #{$breakpoint-md} {
grid-row: 1 / span 2;
-ms-grid-row: 1;
-ms-grid-row-span: 2;
}
}

.su-lockup__sitename-line1,
.su-lockup__sitename-line2 {
font-size: 22px;

@media #{$breakpoint-md} {
font-size: 22px;
}
}

.su-lockup__sitename-line2 {
@include padding(6px null null);
display: block;
grid-row: 5 / span 1;
-ms-grid-row: 5;
-ms-grid-row-span: 1;
line-height: .8;

@media #{$breakpoint-md} {
grid-row: 2 / span 1;
-ms-grid-row: 2;
-ms-grid-row-span: 1;
grid-column: 3 / span 1;
-ms-grid-column: 3;
-ms-grid-column-span: 1;
}
}

.su-lockup__sitename-line5 {

@media #{$breakpoint-md} {
grid-row: 3 / span 1;
-ms-grid-row: 3;
-ms-grid-row-span: 1;
}
}

.su-lockup__sitename-line1--small,
.su-lockup__sitename-line1--supersmall {
-webkit-font-smoothing: auto;
-moz-osx-font-smoothing: auto;
}

.su-lockup__sitename-line1--small {
font-size: 15px;

@media #{$breakpoint-md} {
font-size: 16px;
line-height: .5;
}
}


.su-lockup__sitename-line1--supersmall {
font-size: 13px;

@media #{$breakpoint-md} {
+ .su-lockup__sitename-line2 {
@include padding(3px null null);
font-size: 27px;
}
}
}

}
Loading

0 comments on commit 0542fd0

Please sign in to comment.