~williamvds/website

ref: 979e2ce00eee46f38ca0e7a3481ff88c80a881df website/sass/site.sass -rw-r--r-- 1.3 KiB
979e2ce0williamvds Style blockquotes and add quote shortcode 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
@import _variables

@media screen
	*
		margin: 0
		padding: 0

body
	min-height: 100vh
	box-sizing: border-box

	font-family: $font
	line-height: $line-height

	@media screen
		padding: $space-large $space-small

		color: $fg
		background: $bg

@media screen
	a
		color: $primary

header, footer, main
	margin: 0 auto

	@media screen
		width: $main-width

	@media (max-width: $small-thresh)
		width: 100%

nav
	@include small-word-spacing

	.navname
		font-weight: bold
		display: block

h1
	margin-top: $space-large

h2
	margin-top: $space-medium

h3
	margin-top: $space-small

pre, details
	margin: $space-small auto

p, ul, ol
	margin-top: $space-min

a
	text-decoration: none

ul, ol
	padding-left: $space-small

code, pre
	background: $bg-light
	font-family: $font-code
	padding: 0 $space-min
	overflow-x: auto

	-moz-tab-size: $tab-size
	-o-tab-size:   $tab-size
	tab-size:      $tab-size

pre
	@include box-shadow
	padding: $space-min

	@media (max-width: $small-thresh)
		margin: $space-small (-$space-small)
		padding: $space-min $space-small

	code
		padding: 0

blockquote
	border-left: $line-width solid $fg
	font-style: italic
	padding-left: $space-small

	margin: $space-medium $space-large

	@media (max-width: $small-thresh)
		margin: $space-large 0

	.source
		font-style: normal

.iconlink
	display: inline-block

	svg
		margin-right: $space-min