forked from TuringLang/turinglang.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* very basic redesign * make buttons interactive
- Loading branch information
1 parent
5f7f81c
commit 93aa82a
Showing
10 changed files
with
182 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/*-- scss:defaults --*/ | ||
// Cosmo 5.3.3 | ||
// Bootswatch | ||
|
||
$theme: "cosmo" !default; | ||
@import "variables/colorsdark"; | ||
@import "variables/borders"; | ||
|
||
/*-- scss:rules --*/ | ||
|
||
@import "rules/cards"; | ||
@import "rules/buttons"; | ||
@import "rules/navbar"; | ||
|
||
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/*-- scss:defaults --*/ | ||
|
||
@import "variables/colorslight"; | ||
@import "variables/borders"; | ||
|
||
/*-- scss:rules --*/ | ||
|
||
@import "rules/cards"; | ||
@import "rules/buttons"; | ||
@import "rules/navbar"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.button { | ||
padding: 0.5rem 1rem; | ||
//margin: 0.25rem; | ||
border-radius: 25px; | ||
border: solid $text-muted 1px; | ||
color: $color-fg; | ||
background-color: $body-bg; | ||
|
||
&:hover { | ||
background-color: $color-mute-bg !important; | ||
border: solid $text-muted 1px; | ||
} | ||
|
||
&--fill { | ||
@extend .button; | ||
background-color: $color-secondary; | ||
border: solid $color-secondary 1px; | ||
|
||
&:hover { | ||
background-color: lighten($color-secondary, 10%) !important; | ||
border-color: lighten($color-secondary, 10%) !important; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.card { | ||
border-radius: $border-radius-sm; | ||
padding: 1rem; | ||
min-height: 120px; | ||
min-width: 200px; | ||
max-width: 300px; | ||
|
||
color: $color-fg !important; | ||
background-color: $color-mute-bg !important; | ||
border: solid $color-mute-bg 0px !important; | ||
|
||
.card-title { | ||
color: $color-fg !important; | ||
font-size: x-large; | ||
font-weight: 700; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.navbar { | ||
background-color: $body-bg; | ||
color: $text-muted; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
$border-radius-lg: 1rem; | ||
$border-radius-sm: 0.5rem; | ||
$border-width-lg: 2px; | ||
$border-width: 1px; | ||
$border-width-sm: 0.5px; | ||
$default-border-wide: $border-width solid $light-bg-offset; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
$white: #ffffff !default; | ||
$gray-100: #f8f9fa !default; | ||
$gray-200: #e9ecef !default; | ||
$gray-300: #dee2e6 !default; | ||
$gray-400: #ced4da !default; | ||
$gray-500: #adb5bd !default; | ||
$gray-600: #868e96 !default; | ||
$gray-700: #495057 !default; | ||
$gray-800: #373a3c !default; | ||
$gray-900: #212529 !default; | ||
$black: #000000 !default; | ||
|
||
$dark-green: #073c44; | ||
$thistle: #E7CEED; | ||
$light-orange: darken(#FEEEEB, 5%); // the actual KI color is a little light for many potential use cases | ||
$light-blue: darken(#EDF4F4, 5%); | ||
$logo-plum: #870052; | ||
$medium-grey: #CCD1D5; | ||
|
||
$color-primary: $thistle; | ||
$color-secondary: $dark-green; | ||
$color-highlight: lighten($dark-green, 10%); | ||
|
||
$color-mute-bg: $gray-800; | ||
|
||
$body-color: white; | ||
$body-bg: #201F24; | ||
$light-bg: #201F24; | ||
$light-bg-offset: $color-secondary; | ||
$color-fg: white; | ||
|
||
$quarto-category-background-color: lighten($light-bg, 2%); | ||
$quarto-category-border-color: lighten($light-bg, 30%); | ||
$quarto-category-hover-background-color: darken($light-bg, 5%); | ||
$quarto-category-hover-border-color: lighten($light-bg, 50%); | ||
$quarto-category-highlight: $color-fg; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
$white: #ffffff !default; | ||
$gray-100: #f8f9fa !default; | ||
$gray-200: #e9ecef !default; | ||
$gray-300: #dee2e6 !default; | ||
$gray-400: #ced4da !default; | ||
$gray-500: #adb5bd !default; | ||
$gray-600: #868e96 !default; | ||
$gray-700: #495057 !default; | ||
$gray-800: #373a3c !default; | ||
$gray-900: #212529 !default; | ||
$black: #000000 !default; | ||
|
||
$dark-green: #073c44; | ||
$thistle: #E7CEED; | ||
$light-orange: darken(#FEEEEB, 5%); // the actual KI color is a little light for many potential use cases | ||
$light-blue: #EDF4F4; | ||
$logo-plum: #870052; | ||
$medium-grey: #CCD1D5; | ||
$color-fg: black; | ||
|
||
$color-primary: $dark-green; | ||
$color-secondary: darken($light-blue, 20%); | ||
|
||
$color-mute-bg: $gray-200; | ||
|
||
$quarto-category-background-color: lighten($medium-grey, 10%); | ||
$quarto-category-border-color: darken($medium-grey, 5%); | ||
$quarto-category-hover-background-color: lighten($medium-grey, 15%); | ||
$quarto-category-hover-border-color: darken($medium-grey, 15%); | ||
$quarto-category-highlight: $color-fg; | ||
|
||
|
||
$light-bg: white; | ||
$light-bg-offset: $color-secondary; |