-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from rachelnicole/basic-styling
Basic styling
- Loading branch information
Showing
30 changed files
with
248 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,32 @@ | ||
//////////////////////// | ||
// Compass Extensions | ||
@import 'toolkit/reset'; | ||
@import 'toolkit'; | ||
@import 'breakpoint'; | ||
@import 'ibm-colors'; | ||
//////////////////////// | ||
|
||
body { | ||
background: color('teal'); | ||
} | ||
////////////////////////////// | ||
// GLOBALS | ||
@import 'partials/global/variables'; | ||
@import 'partials/global/functions'; | ||
@import 'partials/global/mixins'; | ||
@import 'partials/global/extends'; | ||
////////////////////////////// | ||
|
||
////////////////////////////// | ||
// BASE | ||
@import 'partials/base/content'; | ||
////////////////////////////// | ||
|
||
////////////////////////////// | ||
// COMPONENTS | ||
@import 'partials/components/forms'; | ||
////////////////////////////// | ||
|
||
////////////////////////////// | ||
// LAYOUTS | ||
@import 'partials/layouts/header'; | ||
@import 'partials/layouts/footer'; | ||
@import 'partials/layouts/login'; | ||
////////////////////////////// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@import 'content/variables'; | ||
@import 'content/mixins'; | ||
@import 'content/extends'; | ||
|
||
body { | ||
background-color: $white; | ||
font-family: $font-stack; | ||
margin: 0; | ||
} | ||
|
||
.wrapper { | ||
|
||
margin: 0 auto; | ||
margin-bottom: -50px; | ||
margin-top: 50px; | ||
min-height: 100%; | ||
padding: 0 1em; | ||
|
||
&:after { | ||
content: ''; | ||
display: block; | ||
height: 75px; | ||
} | ||
|
||
.punchcard-logomark { | ||
display: block; | ||
margin: 0 auto; | ||
margin-top: 75px; | ||
width: 250px; | ||
} | ||
|
||
} | ||
|
||
.base--a { | ||
color: color('teal', 60); | ||
text-decoration: none; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
|
||
.base--STYLED { | ||
list-style-type: none; | ||
padding: 1em; | ||
} |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
// Content Forms | ||
.base--FORM { | ||
padding: 1em 0; | ||
|
||
.form--field { | ||
display: grid; | ||
grid-template-columns: auto; | ||
grid-template-rows: auto; | ||
padding: .5em 0; | ||
} | ||
|
||
.form--alert { | ||
color: #ff0000; | ||
font-size: .8em; | ||
} | ||
|
||
.form--description { | ||
font-size: .8em; | ||
padding: 5px 0; | ||
} | ||
|
||
fieldset { | ||
margin: 1em 0; | ||
} | ||
} |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
$font-stack: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; | ||
|
||
$white: #fff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.site-footer { | ||
background: color('gray', 90); | ||
color: $white; | ||
height: 50px; | ||
} | ||
|
||
.footer-wrapper { | ||
@include vertical-center(50%, false); | ||
|
||
margin: 0 auto; | ||
padding: 0 1em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
header { | ||
background-color: color('gray', 90); | ||
height: 75px; | ||
} | ||
|
||
.nav { | ||
|
||
@include vertical-center(50%, false); | ||
|
||
margin: 0 auto; | ||
|
||
.punchcard-logo { | ||
height: 18px; | ||
} | ||
|
||
.nav--list { | ||
display: inline-flex; | ||
list-style-type: none; | ||
} | ||
|
||
.nav--item { | ||
flex-direction: row; | ||
} | ||
|
||
.nav--a { | ||
color: $white; | ||
padding: 1em; | ||
text-decoration: none; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.login--wrapper { | ||
margin: 0 auto; | ||
position: relative; | ||
width: 300px; | ||
} | ||
|
||
.login--title { | ||
padding: .5em 0; | ||
} | ||
|
||
.login--fields { | ||
display: block; | ||
padding: .5em 0; | ||
|
||
> * { | ||
width: 100%; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
{% block footer %} | ||
<footer>Sitewide HTML Footer</footer> | ||
<footer class="site-footer"> | ||
<div class="footer-wrapper"> | ||
<p>Footer Text Goes Here</p> | ||
</div> | ||
</footer> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<header> | ||
<header class="main-header"> | ||
{% include "_nav.html" %} | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
<nav> | ||
<ul> | ||
<nav class="nav"> | ||
<ul class="nav--list"> | ||
<li class="nav--item"><a href="/"><img src="/images/punchcard-type.svg" alt="punchcard-logo" class="punchcard-logo"></a></li> | ||
{% for item in nav %} | ||
<li><a href="/{{item.path}}">{{item.label}}</a></li> | ||
<li class="nav--item"><a href="/{{item.path}}" class="nav--a">{{item.label}}</a></li> | ||
{% endfor %} | ||
<li><a href="/logout">logout</a></li> | ||
<li class="nav--item"><a href="/logout" class="nav--a">Logout</a></li> | ||
</ul> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.