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

Commit

Permalink
fix(website): Different fixes to fit with the tickets #76 & #81
Browse files Browse the repository at this point in the history
  • Loading branch information
LukyVj committed Apr 6, 2016
1 parent e8d2005 commit ef2f2d0
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 11 deletions.
11 changes: 5 additions & 6 deletions docs/source/stylesheets/components/_containers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
float: none;
margin: auto;
width: 100%;

@media (min-width: $bp-big) {
max-width: calc(#{$max-width} + 260px);
}
}

section {
Expand All @@ -30,8 +26,8 @@ section {
color: #fff;
padding-top: $navigation-height*1.5;

.hero-container {
margin-top: 20px;
.container {
margin-top: 40px;
}

.icon {
Expand All @@ -57,12 +53,15 @@ section {

h1 {
line-height: 22px;
padding: 16px 0;
margin-top: 32px;
}

h3 {
font-size: 20px;
color: $powder-blue;
font-weight: 400;
padding: 8px 0;
}


Expand Down
7 changes: 6 additions & 1 deletion docs/source/stylesheets/components/_documentation.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.documentation-section {
padding-top: 120px;

.container {

article {
width: 100%;
position: relative;
Expand Down Expand Up @@ -36,6 +36,7 @@
left: #{$sidebar-width};
width: calc(100% - #{$sidebar-width});
padding-left: 30px;
padding-top: 120px;

// API tables
table.api {
Expand Down Expand Up @@ -84,6 +85,10 @@
}
}
}
&+ h2,
&+ h3 {
margin-top: 2em;
}
}

.anchor {
Expand Down
14 changes: 10 additions & 4 deletions docs/source/stylesheets/components/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,20 @@
}

li {
display: inline-block;
padding: 0 6px;
float: left;

padding: 0 15px;
font-family: "Open Sans";
font-size: 14px;
text-transform: capitalize;
padding-bottom: 19px;

a {
padding-bottom: 18px;
}

&.active {
a {
border-bottom: 2px solid $red-pink;
border-bottom: 3px solid $red-pink;
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions docs/source/stylesheets/components/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ nav.sidebar {
position: absolute;
max-width: $sidebar-width;
border-right: 1px solid #d8d8d8;
padding-top: 120px;

&.fixed {
position: fixed;
top: $navigation-height + 16px;
z-index: 9;
padding-top: 0;
}


Expand Down
7 changes: 7 additions & 0 deletions docs/source/stylesheets/vendors/_helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,14 @@ hr {
font-weight: bold;
width: 0;
float: left;
}

body.index &{
display: none;

&+ span {
display: none !important;
}
}
}

Expand Down

0 comments on commit ef2f2d0

Please sign in to comment.