Skip to content

Commit 15226af

Browse files
committed
CV rework/simplification
1 parent ccc6be5 commit 15226af

2 files changed

Lines changed: 93 additions & 157 deletions

File tree

assets/paper.sass

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@
1919
@import syntax
2020

2121
$faint-background: transparentize($theme01, 0.5)
22-
$no-print-border-color: transparentize($theme08, 0.85)
2322

2423
// Denser print layout
2524
@media print
25+
body
26+
font-size: 12px
2627
h1, h2, h3, h4, h5, h6, header
2728
margin: 0
2829
.palette, .no-print, details.no-print-collapsed:not([open])
@@ -32,24 +33,16 @@ $no-print-border-color: transparentize($theme08, 0.85)
3233
.print-only
3334
display: none
3435

35-
// Firefox seems to get freaky about styling the details tag,
36-
// the background takes over the margin, whereas without
37-
// the border it does no such thing.
38-
.no-print:not(:empty):not(details)
39-
border: 2px dashed $no-print-border-color
36+
.no-print:not(:empty)
37+
$no-print-border-color: transparentize($theme08, 0.7)
38+
$no-print-background-color: mix($theme00, $theme08, 90%)
39+
border: 1px dashed $no-print-border-color
40+
background-color: $no-print-background-color
4041
// Outset the border, hopefully without
4142
// impacting the rest of the layout
4243
margin: -0.15em
4344
padding: 0.15em
4445

45-
details.no-print-collapsed > summary
46-
box-sizing: border-box
47-
border: 2px dashed transparent
48-
49-
details.no-print-collapsed:not([open]) > summary
50-
box-sizing: border-box
51-
border-color: $no-print-border-color
52-
5346
span.faint-highlight
5447
background-color: $faint-background
5548

@@ -113,7 +106,6 @@ h1#path
113106
content: "\\"
114107
@import cursor
115108

116-
117109
.pagination
118110
text-align: center
119111
font-size: 2em
@@ -180,9 +172,6 @@ ul.tags
180172
display: inline-block
181173
margin-right: 0.3em
182174

183-
// .fa
184-
// text-shadow: .1em .1em .3em transparentize($theme0E, 0.3)
185-
186175
.menu
187176
a
188177
display: block

0 commit comments

Comments
 (0)