replacing default-org-mode with org-base.sass
This commit is contained in:
parent
4e5a41e5e4
commit
2d4194d958
4 changed files with 49 additions and 149 deletions
|
|
@ -1,4 +1,7 @@
|
||||||
// .config.sass
|
// .config.sass
|
||||||
// rename _config.sass to .config.sass
|
// rename _config.sass to .config.sass
|
||||||
|
|
||||||
$base-path: '../../fonts'
|
// this file gets us FROM media/sass/org-media-sass/font-library to media/fonts
|
||||||
|
// so it's usually going to be three parents than fonts
|
||||||
|
|
||||||
|
$base-path: '../../../fonts'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
@use "sass:map"
|
@use "sass:map"
|
||||||
@use "sass:color"
|
@use "sass:color"
|
||||||
|
|
||||||
@use '../default-org-mode'
|
@use '../org-base'
|
||||||
|
|
||||||
@use '../themes/sienna-elegance' as *
|
@use '../themes/sienna-elegance' as *
|
||||||
@use '../fonts' as fonts
|
@use '../fonts' as fonts
|
||||||
@use '../mixins' as mixins-basic
|
@use '../mixins' as mixins-basic
|
||||||
|
|
@ -29,15 +30,27 @@ a
|
||||||
ul, ol
|
ul, ol
|
||||||
padding-left: $list-padding-left
|
padding-left: $list-padding-left
|
||||||
|
|
||||||
|
// Notes
|
||||||
|
.note
|
||||||
|
background-color: $note-background-color
|
||||||
|
border-color: $note-border-color
|
||||||
|
padding: 1em
|
||||||
|
p
|
||||||
|
color: $note-color
|
||||||
|
font-weight: bold
|
||||||
|
font-size: 1em
|
||||||
|
|
||||||
// Blockquotes
|
// Blockquotes
|
||||||
blockquote
|
blockquote
|
||||||
border-color: $secondary-color
|
border-color: $secondary-color
|
||||||
color: color.adjust($text-color, $lightness: 10%)
|
color: $note-color
|
||||||
font-family: $secondary-font
|
font-family: $primary-font
|
||||||
|
font-style: italic
|
||||||
|
|
||||||
// Tables
|
// Tables
|
||||||
table
|
table
|
||||||
color: $text-color
|
color: $text-color
|
||||||
|
font-size: 1em
|
||||||
|
|
||||||
th, td
|
th, td
|
||||||
border-color: $table-border-color
|
border-color: $table-border-color
|
||||||
|
|
@ -45,21 +58,32 @@ th, td
|
||||||
th
|
th
|
||||||
background-color: $table-header-bg
|
background-color: $table-header-bg
|
||||||
color: $text-color
|
color: $text-color
|
||||||
|
font-family: $secondary-font
|
||||||
|
font-size: 1.3em
|
||||||
|
|
||||||
|
|
||||||
tr:nth-child(even)
|
tr:nth-child(even)
|
||||||
background-color: color.adjust($background-color, $lightness: 5%)
|
background-color: color.adjust($background-color, $lightness: 5%)
|
||||||
|
|
||||||
/* Code Block Styles */
|
/* Code Block Styles */
|
||||||
pre, code
|
pre, code
|
||||||
background-color: $code-background-color
|
|
||||||
color: $code-text-color
|
color: $code-text-color
|
||||||
|
background-color: $code-background-color
|
||||||
font-family: $secondary-font
|
font-family: $primary-font
|
||||||
|
|
||||||
/* Header Styles */
|
/* Header Styles */
|
||||||
h1, h2, h3, h4, h5, h6
|
h1, h2, h3, h4, h5, h6
|
||||||
font-family: $secondary-font
|
font-family: $secondary-font
|
||||||
|
|
||||||
|
h4
|
||||||
|
text-transform: uppercase
|
||||||
|
|
||||||
|
h4[id="timestamp"]
|
||||||
|
color: color.adjust(map.get($default-header-colors, 'h2'), $lightness: 20%)
|
||||||
|
|
||||||
|
h4[id="playlist"]
|
||||||
|
color: color.adjust(map.get($default-header-colors, 'h3'), $lightness: -10%)
|
||||||
|
|
||||||
h3
|
h3
|
||||||
a
|
a
|
||||||
color: color.adjust($anchor-color, $lightness: -12%)
|
color: color.adjust($anchor-color, $lightness: -12%)
|
||||||
|
|
|
||||||
|
|
@ -1,142 +0,0 @@
|
||||||
@use "sass:map"
|
|
||||||
@use "sass:color"
|
|
||||||
@use 'mixins' as mixins-basic
|
|
||||||
|
|
||||||
@include mixins-basic.remove-section-number(h2)
|
|
||||||
@include mixins-basic.remove-section-number(h4)
|
|
||||||
|
|
||||||
/*
|
|
||||||
* NOTE
|
|
||||||
* do NOT put ANYTHING in here that relies on an imported variable from a theme!
|
|
||||||
* all theme related variables MUST be put into the localized org-mode for that section
|
|
||||||
* of notes!!!
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/* Base Styles */
|
|
||||||
body
|
|
||||||
font-size: 1em
|
|
||||||
line-height: 1.6
|
|
||||||
margin: 0 auto
|
|
||||||
max-width: 900px
|
|
||||||
padding: 1em
|
|
||||||
|
|
||||||
/* Link Styles */
|
|
||||||
a
|
|
||||||
text-decoration: underline
|
|
||||||
text-underline-offset: 2px
|
|
||||||
|
|
||||||
ul
|
|
||||||
margin: 1em 0em
|
|
||||||
list-style-type: disc
|
|
||||||
|
|
||||||
ol
|
|
||||||
margin: 1em .5em
|
|
||||||
list-style-type: decimal
|
|
||||||
|
|
||||||
li
|
|
||||||
margin-bottom: 0.5em
|
|
||||||
|
|
||||||
// Blockquotes
|
|
||||||
blockquote
|
|
||||||
border-left: 4px solid
|
|
||||||
padding-left: 1em
|
|
||||||
margin: 1.5em 0
|
|
||||||
|
|
||||||
// Tables
|
|
||||||
table
|
|
||||||
width: 100%
|
|
||||||
border-collapse: collapse
|
|
||||||
margin-bottom: 1em
|
|
||||||
|
|
||||||
th, td
|
|
||||||
border: 1px solid
|
|
||||||
padding: 0.75em
|
|
||||||
text-align: left
|
|
||||||
|
|
||||||
/* Code Block Styles */
|
|
||||||
pre, code
|
|
||||||
border-radius: 4px
|
|
||||||
padding: 0.5em
|
|
||||||
display: block
|
|
||||||
overflow-x: auto
|
|
||||||
|
|
||||||
// Section
|
|
||||||
section
|
|
||||||
margin-bottom: 2em
|
|
||||||
|
|
||||||
/* Header Styles */
|
|
||||||
h1, h2, h3, h4, h5, h6
|
|
||||||
text-transform: capitalize
|
|
||||||
font-weight: bold
|
|
||||||
|
|
||||||
h3
|
|
||||||
a
|
|
||||||
&:hover
|
|
||||||
text-decoration: none
|
|
||||||
|
|
||||||
// Paragraphs
|
|
||||||
p
|
|
||||||
margin-bottom: 1em
|
|
||||||
|
|
||||||
// Notes
|
|
||||||
.note
|
|
||||||
padding: 0.5em
|
|
||||||
border-left: 3px solid
|
|
||||||
margin-bottom: 1em
|
|
||||||
|
|
||||||
div#postamble
|
|
||||||
border-top: 1px dashed
|
|
||||||
margin-top: 2em
|
|
||||||
padding-top: 1em
|
|
||||||
font-size: 0.9em
|
|
||||||
|
|
||||||
.outline-3
|
|
||||||
margin-bottom: 3em
|
|
||||||
margin-left: .5em
|
|
||||||
|
|
||||||
.outline-4
|
|
||||||
margin-bottom: 2em
|
|
||||||
margin-left: 1em
|
|
||||||
|
|
||||||
/* Table of Contents Link */
|
|
||||||
.toc
|
|
||||||
font-weight: bold
|
|
||||||
|
|
||||||
ul.links
|
|
||||||
padding-left: 2em
|
|
||||||
list-style-type: square
|
|
||||||
li
|
|
||||||
margin: 0
|
|
||||||
|
|
||||||
a
|
|
||||||
text-transform: capitalize
|
|
||||||
|
|
||||||
div#table-of-contents
|
|
||||||
ul
|
|
||||||
padding-left: 1em
|
|
||||||
margin: 0
|
|
||||||
list-style-type: none
|
|
||||||
|
|
||||||
li
|
|
||||||
margin: .4 0
|
|
||||||
|
|
||||||
a
|
|
||||||
text-transform: lowercase
|
|
||||||
text-decoration: none
|
|
||||||
|
|
||||||
h2
|
|
||||||
margin-left: 0
|
|
||||||
margin-bottom: .2em
|
|
||||||
text-transform: uppercase
|
|
||||||
|
|
||||||
.playlist
|
|
||||||
text-transform: capitalize
|
|
||||||
|
|
||||||
.contents-overview li
|
|
||||||
text-transform: uppercase
|
|
||||||
list-style-type: square
|
|
||||||
font-weight: bold
|
|
||||||
|
|
||||||
a
|
|
||||||
text-decoration: none
|
|
||||||
|
|
@ -5,6 +5,13 @@
|
||||||
@include mixins-basic.remove-section-number(h2)
|
@include mixins-basic.remove-section-number(h2)
|
||||||
@include mixins-basic.remove-section-number(h4)
|
@include mixins-basic.remove-section-number(h4)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* NOTE
|
||||||
|
* do NOT put ANYTHING in here that relies on an imported variable from a theme!
|
||||||
|
* all theme related variables MUST be put into the localized org-mode for that section
|
||||||
|
* of notes!!!
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
/* Base Styles */
|
/* Base Styles */
|
||||||
body
|
body
|
||||||
|
|
@ -125,3 +132,11 @@ div#table-of-contents
|
||||||
|
|
||||||
.playlist
|
.playlist
|
||||||
text-transform: capitalize
|
text-transform: capitalize
|
||||||
|
|
||||||
|
.contents-overview li
|
||||||
|
text-transform: uppercase
|
||||||
|
list-style-type: square
|
||||||
|
font-weight: bold
|
||||||
|
|
||||||
|
a
|
||||||
|
text-decoration: none
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue