-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganise styles to have handheld and desktop versions.
- Loading branch information
1 parent
0e78e2d
commit 6dbc543
Showing
10 changed files
with
199 additions
and
117 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
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,13 @@ | ||
/* Button */ | ||
@mixin button { | ||
@include border-radius(10px); | ||
@include box-shadow(0px, -1px, 0px, #fff); | ||
@include gradient(#fefefe, #eeeeee); | ||
|
||
font-family: "Droid Serif"; font-style: italic; text-align: center; margin: 0.5em auto; font-size: 0.9em; padding: 0.3em 1.8em 0.3em 0.8em; color: #666; cursor: pointer; text-shadow: 0em 0.1em 0em #fff; border: 0.1em outset buttonface; | ||
|
||
&:active { | ||
text-shadow: 0em -0.1em 0em #fff; | ||
border: 0.1em inset buttonface; | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
@charset "utf-8"; | ||
|
||
@import "all"; | ||
|
||
body .wrapper { @include column-width(14); margin: 4em auto; padding: 0 1em; } | ||
header.head div.logo { @include column(2); width: 6em; } | ||
|
||
header.head { | ||
@include column-width(13); | ||
@include clearfix; | ||
|
||
position: relative; | ||
|
||
hgroup { @include column(10); } | ||
|
||
div#search { | ||
@include column-width(3); | ||
position: absolute; top: 0; right: 0; | ||
} | ||
} | ||
|
||
|
||
section[role="main"] { | ||
@include skip-column(2); | ||
|
||
p { @include column-width(9); } | ||
} | ||
|
||
/* Handle references inline */ | ||
div.reference-wrapper { | ||
@include clearfix; | ||
|
||
p, dt { @include column(9); } | ||
aside.reference { @include column(3); word-wrap: break-word; font-size: 11px; color: #777; font-style: italic; margin: 0 0 1em 0; } | ||
a[href*="#refs"] { display: none; } /* Hide reference style links */ | ||
} | ||
|
||
/* Code blocks */ | ||
pre { | ||
@include column-width(13); | ||
position: relative; margin: 1em 0em 1em -2.6em; | ||
} | ||
|
||
/* Up next */ | ||
div#up-next { | ||
@include skip-column(2); | ||
@include column-width(9); | ||
} | ||
|
||
/* Footer */ | ||
body .wrapper > footer { | ||
@include skip-column(2); | ||
@include column-width(10); | ||
} | ||
|
||
/* Global elements */ | ||
ul, ol, dl { margin-bottom: 1em; } | ||
|
||
/* Global typographic regions */ | ||
.note { @include column-width(10); } |
Oops, something went wrong.