-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.sass
185 lines (146 loc) · 3.5 KB
/
style.sass
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
/* Variables */
$terminal-bg-color: #1f2335
$selection-bg-color: #2e3c64
$selection-color: #c0c9f5
$command-color: #7aa2f7
$stdout-color: #c0caf4
$stdout-green-color: #9ece6a
$stdout-blue-color: #7aa2f7
$prompt-dir-bg: #80acff
$prompt-dir-color: #1e202f
$prompt-git-bg: #9ecd6a /* clean branch */
$readline-color: #7dcfff
$project-header-color: #0072ad
$light-background: #f9f9f9
$light-background-alt: #f0f0f0
$dark-background: #0e0e00
$border-color-light: #ccc
$border-color-dark: #696969
$border-hover-color: #ccc
$font-monospace: monospace
$font-size-body: 0.8em
/* Overrides */
pre
margin: 0
body
font-size: $font-size-body
/* Custom Classes */
.header
padding-left: 0.65em
padding-top: 2em
.header-desc
padding-left: 1.5em
margin-bottom: 3em
font-size: 1em
.grid-sizer, .grid-item
width: 47%
margin-right: 1em
margin-bottom: 1em
padding: 1em
container-type: inline-size
@media (max-width: 520px)
width: 100%
.grid-item
@media (prefers-color-scheme: light)
background: $light-background
border-color: $border-hover-color
border: 1px dashed $border-color-light
@media (prefers-color-scheme: dark)
background-color: $selection-bg-color
border-color: $border-hover-color
background-color: transparent
border: 1px dashed $border-color-dark
&:hover
border: 1px dashed
.grid-item--width2
width: 80%
.project
margin-bottom: 1em
padding: 1em
.project-desc
font-style: italic
.project-header
margin: 0 0 1em
padding-left: 0.55em
font-family: $font-monospace
font-weight: 100
font-size: 1.8em
color: $project-header-color
@media (prefers-color-scheme: light)
background-color: $light-background
.project-title
margin-bottom: 0
font-size: 1.1em
font-style: italic
font-weight: 600
.repo-link
font-weight: 200
font-size: 1.4em
@media (prefers-color-scheme: light)
background: $light-background-alt
@media (prefers-color-scheme: dark)
background-color: $dark-background
.dotfile-program
width: 60px
height: 60px
@media (prefers-color-scheme: light)
::selection
background: #d6e4ff
@media (prefers-color-scheme: dark)
::selection
background: #000
/* Fake terminal in CSS */
.terminal
background-color: $terminal-bg-color
font-family: $font-monospace
font-size: 2.6cqw
line-height: 5cqw
pre::selection, .readline::selection, .readline .command::selection, .stdout::selection, .stdout-green::selection
background: $selection-bg-color
.prompt-dir::selection, .prompt-git::selection
background: $selection-bg-color
color: $selection-color
.command
margin-left: 0.7em
font-size: 0.95em
color: $command-color
.readline
background-color: inherit
padding: 2px 4px
font-size: 0.9em
color: $readline-color
.prompt-dir, .prompt-git
padding: 2px 10px
font-size: 0.9em
color: $prompt-dir-color
.prompt-dir
background-color: $prompt-dir-bg
.prompt-git
background-color: $prompt-git-bg /* clean branch */
.stdout
background-color: inherit
color: $stdout-color
padding-left: 4px
padding-bottom: 4px
text-wrap: nowrap
line-height: 1.4em
.stdout-green
color: $stdout-green-color
.stdout-blue
color: $stdout-blue-color
.small-button
font-family: $font-monospace
font-size: 0.8em
padding: 0.6em
.current-page
@media (prefers-color-scheme: light)
background-color: $light-background
@media (prefers-color-scheme: dark)
background-color: $dark-background
footer
text-align: center
.about
width: fit-content
text-align: center
margin: auto
display: none