mirror of
https://github.com/danog/sass-site.git
synced 2025-01-21 21:31:34 +01:00
add some additional styling to the docs
This commit is contained in:
parent
27380305f5
commit
8027b702c2
@ -2,6 +2,36 @@
|
||||
* by Team Sass Design (@teamsassdesign)
|
||||
*/
|
||||
|
||||
.maruku_toc {
|
||||
display: none;
|
||||
}
|
||||
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);
|
||||
|
||||
|
||||
|
||||
@import "compass";
|
||||
@import "breakpoint";
|
||||
|
||||
|
||||
|
||||
@import "dependencies/layout";
|
||||
@import "dependencies/typography";
|
||||
@import "dependencies/color";
|
||||
|
||||
|
||||
|
||||
@import "foundation/site";
|
||||
|
||||
|
||||
|
||||
html {
|
||||
text-align: left;
|
||||
background: $color-background;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 2em;
|
||||
font: {
|
||||
size: inherit;
|
||||
family: 'Source Sans Pro', sans-serif;
|
||||
}
|
||||
}
|
||||
|
||||
.maruku_toc { display: none; }
|
||||
|
33
source/assets/css/docs/_overrides.scss.erb
Normal file
33
source/assets/css/docs/_overrides.scss.erb
Normal file
@ -0,0 +1,33 @@
|
||||
.maruku_toc { display: none; }
|
||||
|
||||
body {
|
||||
padding: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
#header {
|
||||
@extend .banner;
|
||||
|
||||
&:before {
|
||||
@extend .pop-stripe;
|
||||
position: relative;
|
||||
top: -1.5em;
|
||||
display: block;
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
|
||||
#menu {
|
||||
@include container(hide);
|
||||
position: static;
|
||||
font-size: inherit;
|
||||
color: inherit;
|
||||
|
||||
<% data.layout.resolutions.each do |resolution| %>
|
||||
@include breakpoint($<%= resolution.target %>) {
|
||||
@include set-grid($<%= resolution.target %>-grid);
|
||||
@include container(hide);
|
||||
}
|
||||
<% end %>
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user