Skip to content

Commit

Permalink
Added styles for Slack API documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Jan 20, 2016
1 parent be0e3d5 commit 1f64964
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 0 deletions.
1 change: 1 addition & 0 deletions scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
@import "modules/color-overrides";
@import "modules/hacks";

@import "pages/api";
@import "pages/apps";
@import "pages/oauth";
@import "pages/pricing";
Expand Down
100 changes: 100 additions & 0 deletions scss/pages/_api.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
body.api {
header .header_links a {
color: $base-font-color;

&.active {
background: $color-shade-light;
}
}

pre code {
color: $base-font-color;
}

#page_contents .card {
background: $color-shade-dark;
}

.scopes_to_methods {
code {
color: $base-font-color;
}

.selected code {
color: $color-red;
}

li {
color: $base-font-color;
}

.selected li {
color: $base-font-color;
}
}

.section_title {
border-bottom: 2px solid $color-base;
}

.example {
border: 1px solid $color-shade-lightest;

h5 {
background-color: $color-shade-lightest;
color: $base-font-color;
}
}

.alert {
background: $color-shade-light;
}
}

nav#api_nav {
background: transparent;
text-shadow: 0 1px 1px $color-shadow-medium;

h5 {
color: $base-font-color;
}

#api_sections ul li a {
border-bottom: 1px solid $color-shade-dark;
color: $base-link-color;

&:hover {
background: $color-shade-light;
border-radius: 0.25rem;
color: $base-font-color;
}

&.active {
background: $color-shade-light;
color: $base-font-color;
text-shadow: 0 1px 1px $color-shadow-medium;

&:hover {
background: $color-shade-light;
color: $base-font-color;
text-shadow: 0 1px 1px $color-shadow-medium;
}
}
}

#footer {
background: transparent;

#footer_nav a {
color: $base-link-color;
}

#footer_signature {
color: $color-red;
}

ul a:hover {
color: $base-link-color-active;
}
}
}

0 comments on commit 1f64964

Please sign in to comment.