summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets/website
diff options
context:
space:
mode:
Diffstat (limited to 'theme/stylesheets/website')
-rwxr-xr-xtheme/stylesheets/website/body.less59
-rw-r--r--theme/stylesheets/website/dropdown.less54
-rw-r--r--theme/stylesheets/website/font-settings.less15
-rwxr-xr-xtheme/stylesheets/website/header.less38
-rwxr-xr-xtheme/stylesheets/website/markdown.less118
-rwxr-xr-xtheme/stylesheets/website/navigation.less18
-rwxr-xr-xtheme/stylesheets/website/summary.less96
-rw-r--r--theme/stylesheets/website/variables.less131
8 files changed, 1 insertions, 528 deletions
diff --git a/theme/stylesheets/website/body.less b/theme/stylesheets/website/body.less
index 3b99250..3ba93b7 100755
--- a/theme/stylesheets/website/body.less
+++ b/theme/stylesheets/website/body.less
@@ -84,63 +84,4 @@
.transition(none) !important;
}
}
- &.color-theme-1{
- .book-body {
- color: @page-color-1;
- background: @body-background-1;
- .page-wrapper {
- .page-inner {
- section{
- background: @page-background-1;
- }
- }
- }
- }
- }
- &.color-theme-2{
- .book-body {
- color: @page-color-2;
- background: @body-background-2;
- .page-wrapper {
- .page-inner {
- section{
- background: @page-background-2;
- }
- }
- }
- }
- }
-
- &.font-size-0 {
- .book-body .page-inner section {
- font-size:@s-font-size;
- }
- }
- &.font-size-1 {
- .book-body .page-inner section {
- font-size:@m-font-size;
- }
- }
- &.font-size-2 {
- .book-body .page-inner section {
- font-size:@l-font-size;
- }
- }
- &.font-size-3{
- .book-body .page-inner section {
- font-size:@xl-font-size;
- }
- }
- &.font-size-4 {
- .book-body .page-inner section {
- font-size:@xxl-font-size;
- }
- }
-
- &.font-family-0{
- font-family: @font-family-serif;
- }
- &.font-family-1{
- font-family: @font-family-sans;
- }
} \ No newline at end of file
diff --git a/theme/stylesheets/website/dropdown.less b/theme/stylesheets/website/dropdown.less
index 0cc1e8e..5093d5d 100644
--- a/theme/stylesheets/website/dropdown.less
+++ b/theme/stylesheets/website/dropdown.less
@@ -103,57 +103,3 @@
}
}
}
-
-/*
- * Theme 1
- */
-
-.color-theme-1 {
- .dropdown-menu{
- background-color: @dropdown-background-1;
- border-color: @dropdown-border-color-1;
-
- .dropdown-caret .caret-inner{
- border-bottom: 9px solid @dropdown-background-1;
- }
-
- .buttons {
- border-color: @dropdown-divider-color-1;
- }
-
- .button {
- color: @dropdown-button-color-1;
-
- &:hover{
- color: @dropdown-button-hover-color-1;
- }
- }
- }
-}
-
-/*
- * Theme 2
- */
-
-.color-theme-2 {
- .dropdown-menu{
- background-color: @dropdown-background-2;
- border-color: @dropdown-border-color-2;
-
- .dropdown-caret .caret-inner{
- border-bottom: 9px solid @dropdown-background-2;
- }
-
- .buttons {
- border-color: @dropdown-divider-color-2;
- }
-
- .button {
- color: @dropdown-button-color-2;
-
- &:hover{
- color: @dropdown-button-hover-color-2;
- }
- }
- }
-}
diff --git a/theme/stylesheets/website/font-settings.less b/theme/stylesheets/website/font-settings.less
deleted file mode 100644
index b35973f..0000000
--- a/theme/stylesheets/website/font-settings.less
+++ /dev/null
@@ -1,15 +0,0 @@
-.book-header{
- #font-settings-wrapper{
- #enlarge-font-size, #reduce-font-size {
- line-height: 30px;
- }
-
- #enlarge-font-size{
- font-size: 1.4em;
- }
- #reduce-font-size{
- font-size: 1em;
- }
- }
-}
-
diff --git a/theme/stylesheets/website/header.less b/theme/stylesheets/website/header.less
index 2e987d7..c783548 100755
--- a/theme/stylesheets/website/header.less
+++ b/theme/stylesheets/website/header.less
@@ -79,42 +79,4 @@
}
}
}
-
- &.color-theme-1{
- .book-header{
- color: @header-color-1;
- background: @header-background-1;
-
- .btn {
- color: @header-button-color-1;
- &:hover {
- color: @header-button-hover-color-1;
- background: @header-button-hover-background-1;
- }
- }
-
- h1 {
- color: @page-color-1;
- }
- }
- }
-
- &.color-theme-2{
- .book-header{
- color: @header-color-2;
- background: @header-background-2;
-
- .btn {
- color: @header-button-color-2;
- &:hover {
- color: @header-button-hover-color-2;
- background: @header-button-hover-background-2;
- }
- }
-
- h1 {
- color: @page-color-2;
- }
- }
- }
}
diff --git a/theme/stylesheets/website/markdown.less b/theme/stylesheets/website/markdown.less
index e710683..eef2a1d 100755
--- a/theme/stylesheets/website/markdown.less
+++ b/theme/stylesheets/website/markdown.less
@@ -10,121 +10,3 @@
text-decoration: underline;
}
}
-
-.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal {
- color: @page-color-1;
-
- a {
- color: @page-link-color-1;
- }
-
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- color: @page-heading-color-1;
- }
-
- h1, h2 {
- border-color: @page-heading-border-color-1;
- }
-
- h6 {
- color: @page-h6-color-1;
- }
-
- hr {
- background-color: @page-hr-color-1;
- }
-
- blockquote {
- border-color: @page-blockquote-border-color-1;
- }
-
- pre, code {
- background: @page-pre-background-1;
- color: @page-pre-color-1;
- border-color: @page-pre-border-color-1;
- }
-
- .highlight {
- background-color: @page-highlight-background-1;
- }
-
- table {
- th, td {
- border-color: @page-table-header-border-color-1;
- }
-
- tr {
- color: @page-table-row-color-1;
- background-color: @page-table-row-background-1;
- border-color: @page-table-row-border-color-1;
- }
-
- tr:nth-child(2n) {
- background-color: @page-table-row-odd-background-1;
- }
- }
-}
-
-.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal {
- color: @page-color-2;
-
- a {
- color: @page-link-color-2;
- }
-
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- color: @page-heading-color-2;
- }
-
- h1, h2 {
- border-color: @page-heading-border-color-2;
- }
-
- h6 {
- color: @page-h6-color-2;
- }
-
- hr {
- background-color: @page-hr-color-2;
- }
-
- blockquote {
- border-color: @page-blockquote-border-color-2;
- }
-
- pre, code {
- color: @page-pre-color-2;
- background: @page-pre-background-2;
- border-color: @page-pre-border-color-2;
- }
-
- .highlight {
- background-color: @page-highlight-background-2;
- }
-
- table {
- th, td {
- border-color: @page-table-header-border-color-2;
- }
-
- tr {
- color: @page-table-row-color-2;
- background-color: @page-table-row-background-2;
- border-color: @page-table-row-border-color-2;
- }
-
- tr:nth-child(2n) {
- background-color: @page-table-row-odd-background-2;
- }
- }
-}
diff --git a/theme/stylesheets/website/navigation.less b/theme/stylesheets/website/navigation.less
index 3743381..6c647c8 100755
--- a/theme/stylesheets/website/navigation.less
+++ b/theme/stylesheets/website/navigation.less
@@ -48,21 +48,3 @@
}
}
}
-.book.color-theme-1 .book-body {
- .navigation {
- color: @navigation-color-1;
-
- &:hover {
- color: @navigation-hover-color-1;
- }
- }
-}
-.book.color-theme-2 .book-body {
- .navigation {
- color: @navigation-color-2;
-
- &:hover {
- color: @navigation-hover-color-2;
- }
- }
-} \ No newline at end of file
diff --git a/theme/stylesheets/website/summary.less b/theme/stylesheets/website/summary.less
index 50aeebd..6ef7ce4 100755
--- a/theme/stylesheets/website/summary.less
+++ b/theme/stylesheets/website/summary.less
@@ -144,99 +144,3 @@
}
}
}
-
-/*
- * Theme 1
- */
-.book.color-theme-1 {
- .book-summary {
- color: @sidebar-color-1;
- background: @sidebar-background-1;
- border-right: @sidebar-border-right-1;
-
- .book-search {
- background: @sidebar-search-background-1;
-
- input, input:focus {
- border: 1px solid @sidebar-search-input-border-color-1;
- }
- }
-
- ul.summary {
- li {
- &.divider {
- background: @sidebar-divider-color-1;
- box-shadow: none;
- }
-
- i.fa-check {
- color: @sidebar-icon-color-1;
- }
-
- &.done > a {
- color: @sidebar-link-completed-1;
- }
-
- a, span {
- color: @sidebar-link-color-1;
- background: @sidebar-link-background-1;
- font-weight: @sidebar-link-weight-1;
- }
-
- &.active > a, a:hover {
- color: @sidebar-link-hover-color-1;
- background: @sidebar-link-hover-background-1;
- font-weight: @sidebar-link-hover-weight-1;
- }
- }
- }
- }
-}
-
-/*
- * Theme 2
- */
-.book.color-theme-2{
- .book-summary {
- color: @sidebar-color-2;
- background: @sidebar-background-2;
- border-right: @sidebar-border-right-2;
-
- .book-search {
- background: @sidebar-search-background-2;
-
- input, input:focus {
- border: 1px solid @sidebar-search-input-border-color-2;
- }
- }
-
- ul.summary {
- li {
- &.divider {
- background: @sidebar-divider-color-2;
- box-shadow: none;
- }
-
- i.fa-check {
- color: @sidebar-icon-color-2;
- }
-
- &.done > a {
- color: @sidebar-link-completed-2;
- }
-
- a, span {
- color: @sidebar-link-color-2;
- background: @sidebar-link-background-2;
- font-weight: @sidebar-link-weight-2;
- }
-
- &.active > a, a:hover {
- color: @sidebar-link-hover-color-2;
- background: @sidebar-link-hover-background-2;
- font-weight: @sidebar-link-hover-weight-2;
- }
- }
- }
- }
-}
diff --git a/theme/stylesheets/website/variables.less b/theme/stylesheets/website/variables.less
index 4bd7e71..21eac75 100644
--- a/theme/stylesheets/website/variables.less
+++ b/theme/stylesheets/website/variables.less
@@ -27,6 +27,7 @@
@body-background: white;
// Sidebar
+@sidebar-transition-duration: 250ms;
@sidebar-width: 300px;
@sidebar-breakpoint: 600px;
@sidebar-color: hsl(207, 15%, 25%);
@@ -110,133 +111,3 @@
@xxl-font-size: 4.0rem;
@default-font-size: @l-font-size;
-/*
-,--------.,--.
-'--. .--'| ,---. ,---. ,--,--,--. ,---. ,---. .--.
- | | | .-. || .-. :| || .-. :( .-' '--'
- | | | | | |\ --.| | | |\ --..-' `).--.
- `--' `--' `--' `----'`--`--`--' `----'`----' '--'
-*/
-// Header
-@header-color-1: #AFA790;
-@header-color-2: #7e888b;
-@header-background-1: transparent;
-@header-background-2: transparent;
-@header-button-color-1: #AFA790;
-@header-button-color-2: hsl(230, 17%, 28%);
-@header-button-hover-color-1: #73553C;
-@header-button-hover-color-2: hsl(60, 100%, 98%);
-@header-button-hover-background-1: none;
-@header-button-hover-background-2: none;
-@header-dropdown-background-1: @sidebar-background-1;
-@header-dropdown-background-2: @sidebar-background-2;
-
-// Body
-@body-background-1: #F3EACB;
-@body-background-2: hsl(228, 21%, 14%);
-
-// Sidebar
-@sidebar-transition-duration: 250ms;
-@sidebar-color-1: #AFA790;
-@sidebar-color-2: hsl(226, 20%, 78%);
-@sidebar-background-1: #111;
-@sidebar-background-2: hsl(229, 20%, 22%);
-@sidebar-border-right-1: @sidebar-border-right;
-@sidebar-border-right-2: none;
-
-@sidebar-search-background-1: transparent;
-@sidebar-search-background-2: transparent;
-@sidebar-search-input-border-color-1: transparent;
-@sidebar-search-input-border-color-2: transparent;
-
-@sidebar-divider-color-1: @sidebar-divider-color;
-@sidebar-divider-color-2: hsl(230, 19%, 19%);
-
-@sidebar-link-color-1: #877F6A;
-@sidebar-link-color-2: hsl(226, 22%, 80%);
-@sidebar-link-background-1: transparent;
-@sidebar-link-background-2: transparent;
-@sidebar-link-weight-1: normal;
-@sidebar-link-weight-2: 600;
-@sidebar-link-hover-color-1: #704214;
-@sidebar-link-hover-color-2: hsl(240, 5%, 96%);
-@sidebar-link-hover-background-1: transparent;
-@sidebar-link-hover-background-2: hsl(233, 19%, 18%);
-@sidebar-link-hover-weight-1: normal;
-@sidebar-link-hover-weight-2: 600;
-
-@sidebar-icon-color-1: hsl(120, 60%, 50%);
-@sidebar-icon-color-2: @sidebar-icon-color-1;
-@sidebar-link-completed-1: @sidebar-link-color-1;
-@sidebar-link-completed-2: hsl(227, 13%, 44%);
-@sidebar-link-completed-weight-1: normal;
-@sidebar-link-completed-weight-2: 600;
-
-// Dropdown
-@dropdown-divider-color-1: @sidebar-divider-color-1;
-@dropdown-divider-color-2: @sidebar-divider-color-2;
-@dropdown-border-color-1: @sidebar-divider-color-1;
-@dropdown-border-color-2: @sidebar-divider-color-2;
-@dropdown-background-1: @sidebar-background-1;
-@dropdown-background-2: @sidebar-background-2;
-
-@dropdown-button-color-1: @header-button-color-1;
-@dropdown-button-color-2: hsl(228, 13%, 44%);
-@dropdown-button-hover-color-1: @header-button-hover-color-1;
-@dropdown-button-hover-color-2: hsl(240, 5%, 96%);
-
-// Page
-@page-color-1: #704214;
-@page-color-2: hsl(214, 29%, 80%);
-@page-background-1: @body-background-1;
-@page-background-2: @body-background-2;
-
-@page-link-color-1: inherit;
-@page-link-color-2: hsl(193, 61%, 53%);
-
-@page-heading-color-1: inherit;
-@page-heading-color-2: hsl(60, 100%, 99%);
-@page-heading-border-color-1: inherit;
-@page-heading-border-color-2: hsl(230, 17%, 26%);
-@page-h6-color-1: inherit;
-@page-h6-color-2: hsl(230, 17%, 26%);
-
-@page-hr-color-1: inherit;
-@page-hr-color-2: hsl(230, 17%, 26%);
-
-@page-blockquote-border-color-1: inherit;
-@page-blockquote-border-color-2: hsl(230, 17%, 26%);
-
-@page-pre-color-1: #657b83;
-@page-pre-color-2: hsl(206, 43%, 73%);
-@page-pre-background-1: #fdf6e3;
-@page-pre-background-2: hsl(229, 20%, 22%);
-@page-pre-border-color-1: darken(#fdf6e3, 15%);
-@page-pre-border-color-2: hsl(229, 20%, 22%);
-@page-highlight-background-1: inherit;
-@page-highlight-background-2: hsl(233, 18%, 19%);
-
-@page-table-header-border-color-1: darken(#fdf6e3, 25%);
-@page-table-header-border-color-2: hsl(230, 17%, 28%);
-@page-table-row-border-color-1: #444;
-@page-table-row-border-color-2: hsl(230, 17%, 28%);
-@page-table-row-color-1: inherit;
-@page-table-row-color-2: hsl(216, 24%, 77%);
-@page-table-row-background-1: #fdf6e3;
-@page-table-row-background-2: hsl(229, 19%, 22%);
-@page-table-row-odd-background-1: darken(#fdf6e3, 5%);
-@page-table-row-odd-background-2: hsl(229, 17%, 25%);
-
-// Page Bar
-@bar-background-1: @page-background-1;
-@bar-background-2: @page-background-2;
-
-// Navigation
-@navigation-color-1: @header-button-color-1;
-@navigation-color-2: hsl(224, 19%, 27%);
-@navigation-hover-color-1: @header-button-hover-color-1;
-@navigation-hover-color-2: hsl(60, 100%, 98%);
-
-// Basics of a navbar
-@navbar-default-border-1: #d5d5d5;
-@navbar-default-border-2: #d5d5d5;