Skip to content

Commit

Permalink
update karma 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
bigmassa committed Feb 5, 2018
1 parent 1155616 commit 51c4263
Show file tree
Hide file tree
Showing 12 changed files with 46 additions and 47 deletions.
25 changes: 12 additions & 13 deletions karma_sphinx_theme/static/css/theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion karma_sphinx_theme/static/css/theme.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion karma_sphinx_theme/static/css/theme.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion karma_sphinx_theme/static/css/theme.min.css.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions scss/_component-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ $alert-padding: 1.5rem 2rem !default;

$alerts: (
// name background font-color
green: lighten(color(green), 35%) $font-color,
red: lighten(color(red), 30%) $font-color,
blue: lighten(color(aqua), 15%) $font-color,
orange: lighten(color(orange), 35%) $font-color
green: lighten(color("green"), 35%) $font-color,
red: lighten(color("red"), 30%) $font-color,
blue: lighten(color("aqua"), 15%) $font-color,
orange: lighten(color("orange"), 35%) $font-color
);

// Icon Input
Expand Down
2 changes: 1 addition & 1 deletion scss/_font.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
*
*/

@import url('https://fonts.googleapis.com/css?family=Inconsolata:400,700|Lato:300,400,400i,600,900');
@import url('https://fonts.googleapis.com/css?family=Inconsolata:400,700|Lato:300,400,400i,700,900');
16 changes: 8 additions & 8 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@ $base-font-family: 'Lato', sans-serif;
$code-font-family: 'Inconsolata', monospace;
$header-font-family: 'Lato', sans-serif;

$heading-font-weight: 900;
$heading-font-weight: 700;

// The font sizes for h1-h6.
$h1-font-size: 2 * $base-font-size;
$h2-font-size: 1.5 * $base-font-size;
$h3-font-size: 1.4 * $base-font-size;
$h4-font-size: 1.3 * $base-font-size;
$h5-font-size: 1.2 * $base-font-size;
$h6-font-size: 1.1 * $base-font-size;
$h3-font-size: 1.3 * $base-font-size;
$h4-font-size: 1.1 * $base-font-size;
$h5-font-size: 1 * $base-font-size;
$h6-font-size: .9 * $base-font-size;

// Styling
//––––––––––––––––––––––––––––––––––––––––––––––––––

// colors
$colors: (
cinder: rgb(36, 41, 46),
whitesmoke: rgb(245, 246, 247),
solitude: rgb(250, 251, 252)
"cinder": rgb(36, 41, 46),
"whitesmoke": rgb(245, 246, 247),
"solitude": rgb(250, 251, 252)
);

// defined colors
Expand Down
2 changes: 1 addition & 1 deletion scss/module/_breadcrumb.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

.breadcrumbs-outer {
background: color(solitude);
background: color("solitude");
border: solid 1px $border-color;
}

Expand Down
6 changes: 3 additions & 3 deletions scss/module/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

header {
background: color(cinder);
background: color("cinder");
padding: 2rem 0;

.container {
Expand All @@ -13,15 +13,15 @@ header {
}

.site-nav-toggle {
color: color(whitesmoke);
color: color("whitesmoke");
font-size: 3.5rem;
margin-left: -1rem;
padding: .5rem 1rem .5rem 0;
cursor: pointer;
}

.site-title {
color: color(white);
color: color("white");
font-size: 2rem;
font-weight: 400;
}
Expand Down
2 changes: 1 addition & 1 deletion scss/module/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// main body holder

.main-outer {
background: color(whitesmoke);
background: color("whitesmoke");
padding-top: 3rem;
padding-bottom: 10rem;
}
Expand Down
2 changes: 1 addition & 1 deletion scss/module/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

.site-nav {
@include position(0,0,0,0, fixed);
background: color(whitesmoke);
background: color("whitesmoke");
height: 100vh;
overflow-y: scroll;
padding-top: 10rem;
Expand Down
24 changes: 12 additions & 12 deletions scss/module/_rst-content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ img {
border: 1px solid $border-color;
margin: 0 0 $generic-margin-bottom $generic-margin-bottom;
padding: $generic-margin-bottom;
background-color: color(secondary);
background-color: color("secondary");
width: 40%;
float: right;
}

.sidebar-title {
background: color(whitesmoke);
background: color("whitesmoke");
font-weight: bold;
margin: {
top: -$generic-margin-bottom;
Expand All @@ -138,7 +138,7 @@ table.docutils.field-list {
}

table.docutils.footnote {
color: color(grey);
color: color("grey");
width: auto;
}

Expand Down Expand Up @@ -216,8 +216,8 @@ blockquote .attribution {
}

.guilabel {
border: $border-width solid color(primary);
background: lighten(color(primary), 30%);
border: $border-width solid color("primary");
background: color-lighten("primary", 30%);
font-size: 80%;
font-weight: 700;
border-radius: $global-radius;
Expand Down Expand Up @@ -267,15 +267,15 @@ table.highlighttable td {

tt.literal,
code.literal {
background: color(white);
color: color(red);
background: color("white");
color: color("red");
}

tt.xref,
a tt,
code.xref,
a code {
color: color(black);
color: color("black");
}

tt.download,
Expand All @@ -301,16 +301,16 @@ dl:not(.docutils) dt {
margin: .6rem 0;
font-size: 90%;
line-height: normal;
background: rgba(color(primary), .1);
color: rgba(color(primary), .9);
border-top: solid 3px color(primary);
background: color-a("primary", .1);
color: color-a("primary", .9);
border-top: solid 3px color("primary");
padding: .6rem;
}

dl:not(.docutils) dl dt {
border: none;
border-left: solid 3px $border-color;
background: color(secondary);
background: color("secondary");
color: $font-color;
}

Expand Down

0 comments on commit 51c4263

Please sign in to comment.