Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #342 from marcom-unimelb/feat-noheader-layout
Browse files Browse the repository at this point in the history
`no-header` layout and `.headerless` style
  • Loading branch information
sianglim committed Sep 30, 2015
2 parents 77b6085 + 9757591 commit 5745852
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/targets/components/headers/_headers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
& > article:first-child {
padding-top: 0;
}

&.headerless {
border-top: 8px solid $navy;
}

header,
& > header:first-child {
Expand Down
28 changes: 28 additions & 0 deletions doc-site/views/example_layouts/no-header.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
== slim :breadcrumb

.headerless role="main"
div.with-aside
div.bside
h1 Human resources
p Leave, pay, HR advice, equity and fairness, training and development, career management and job search
aside
h2 Popular resources
ul
li
a href="#"
| HR forms and templates
li
a href="#"
| Themis support guides
li
a href="#"
| Current job opportunities
li
a href="#"
| Staff policies
li
a href="#"
| Equity and diversity advisors

p Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in fringilla lorem. In porttitor, tellus ac rutrum efficitur, ipsum massa pretium velit, quis volutpat erat odio id est.

0 comments on commit 5745852

Please sign in to comment.