chungking 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,147 @@
1
+ @import "variables";
2
+
3
+ .prose {
4
+
5
+ h1 { margin: 0.67em 0; }
6
+ h2 { margin: 0.83em 0; }
7
+ h3 { margin: 1.17em 0; }
8
+ h4 { margin: 1.33em 0; }
9
+ h5 { margin: 1.67em 0; }
10
+ h6 { margin: 2.33em 0; }
11
+
12
+ @for $i from 1 to 6 {
13
+ h#{$i}:first-child {
14
+ margin-top: 0 !important;
15
+ }
16
+ }
17
+
18
+ a {
19
+ text-decoration: underline;
20
+
21
+ &:hover {
22
+ color: $color-dark-gray;
23
+ }
24
+ }
25
+
26
+ p, ol, ul, table, dl {
27
+ font-size: $post-font-size;
28
+ line-height: 1.5;
29
+ margin-bottom: 1.5em;
30
+
31
+ @media(max-width: $breakpoint-lg) {
32
+ font-size: $font-size;
33
+ }
34
+ }
35
+
36
+ ol, ul {
37
+ padding-left: $space-4;
38
+ }
39
+
40
+ li {
41
+ margin-bottom: 0.5em;
42
+
43
+ ol, ul {
44
+ margin-top: 0.5em;
45
+ }
46
+
47
+ ol li, ul li {
48
+ margin-bottom: 0;
49
+ }
50
+ }
51
+
52
+ blockquote {
53
+ padding-left: 20px;
54
+ margin: $space-4 0;
55
+ border-left: $border-weight * 2 solid $color-dark-gray;
56
+ font-style: italic;
57
+
58
+ p {
59
+ font-size: $post-font-size * 1.2;
60
+ margin-bottom: 1em;
61
+ }
62
+ }
63
+
64
+ hr {
65
+ margin: 1em 0;
66
+ color: $color-black;
67
+ border-width: thin;
68
+ border-style: solid;
69
+ }
70
+
71
+ table {
72
+ border-collapse: collapse;
73
+ display: block;
74
+ width: 100%;
75
+ overflow: auto;
76
+ word-break: keep-all;
77
+
78
+ th {
79
+ text-align: left;
80
+ }
81
+
82
+ td {
83
+ font-size: $font-size;
84
+ }
85
+
86
+ th, td {
87
+ padding: $space-2 $space-4 $space-2 0;
88
+ border-top: thin solid $color-black;
89
+ border-bottom: thin solid $color-black;
90
+ }
91
+
92
+ tr th {
93
+ border-top: medium solid $color-black;
94
+ border-bottom: medium solid $color-black;
95
+ }
96
+ }
97
+
98
+ dt {
99
+ font-weight: bold;
100
+ }
101
+
102
+ dd {
103
+ font-style: italic;
104
+ }
105
+
106
+ dt, dd {
107
+ font-size: $font-size;
108
+ margin-bottom: 0.5em;
109
+ }
110
+
111
+ img {
112
+ max-width: 100%;
113
+ }
114
+
115
+ pre {
116
+ font-size: $font-size;
117
+ margin: 1.5em 0;
118
+ padding: $space-2 $space-3;
119
+ border: thin solid $color-black;
120
+ border-radius: $border-radius;
121
+ width: 100%;
122
+ overflow-x: auto;
123
+ }
124
+
125
+ code {
126
+ font-family: $font-family-mono;
127
+ }
128
+
129
+ .footnotes {
130
+ padding-top: space-4;
131
+ border-top: thin solid $color-black;
132
+ color: $color-dark-gray;
133
+
134
+ ol, p, a {
135
+ font-size: $font-size !important;
136
+ }
137
+
138
+ ol {
139
+ margin-top: 1.5em;
140
+ margin-bottom: 0;
141
+ }
142
+
143
+ a {
144
+ text-decoration: none;
145
+ }
146
+ }
147
+ }
@@ -0,0 +1,82 @@
1
+ .highlight table td { padding: 5px; }
2
+ .highlight table pre { margin: 0; }
3
+
4
+ .highlight {
5
+ color: #000000;
6
+ }
7
+
8
+ .highlight .w {
9
+ color: #586e75;
10
+ }
11
+ .highlight .err {
12
+ color: #002b36;
13
+ background-color: #dc322f;
14
+ }
15
+ .highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
16
+ color: #657b83;
17
+ }
18
+ .highlight .cp {
19
+ color: #b58900;
20
+ }
21
+ .highlight .nt {
22
+ color: #b58900;
23
+ }
24
+ .highlight .o, .highlight .ow {
25
+ color: #93a1a1;
26
+ }
27
+ .highlight .p, .highlight .pi {
28
+ color: #93a1a1;
29
+ }
30
+ .highlight .gi {
31
+ color: #859900;
32
+ }
33
+ .highlight .gd {
34
+ color: #dc322f;
35
+ }
36
+ .highlight .gh {
37
+ color: #268bd2;
38
+ background-color: #002b36;
39
+ font-weight: bold;
40
+ }
41
+ .highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
42
+ color: #6c71c4;
43
+ }
44
+ .highlight .kc {
45
+ color: #cb4b16;
46
+ }
47
+ .highlight .kt {
48
+ color: #cb4b16;
49
+ }
50
+ .highlight .kd {
51
+ color: #cb4b16;
52
+ }
53
+ .highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
54
+ color: #859900;
55
+ }
56
+ .highlight .sr {
57
+ color: #2aa198;
58
+ }
59
+ .highlight .si {
60
+ color: #d33682;
61
+ }
62
+ .highlight .se {
63
+ color: #d33682;
64
+ }
65
+ .highlight .nn {
66
+ color: #b58900;
67
+ }
68
+ .highlight .nc {
69
+ color: #b58900;
70
+ }
71
+ .highlight .no {
72
+ color: #b58900;
73
+ }
74
+ .highlight .na {
75
+ color: #268bd2;
76
+ }
77
+ .highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
78
+ color: #859900;
79
+ }
80
+ .highlight .ss {
81
+ color: #859900;
82
+ }
@@ -0,0 +1,206 @@
1
+ @import "variables";
2
+
3
+ /* Colors */
4
+ .secondary { color: $color-dark-gray; }
5
+
6
+ /* Type */
7
+ .bold { font-weight: bold;}
8
+ .small { font-size: $font-size-sm; }
9
+
10
+ /* Layout */
11
+ @media (max-width: $breakpoint-lg) {
12
+ .width-lg-stretch {
13
+ display: block !important;
14
+ width: 100% !important;
15
+ }
16
+ }
17
+
18
+ .content {
19
+ max-width: $content-width;
20
+
21
+ &-wrapper {
22
+ min-height: calc(100vh - $content-height-offset);
23
+ top: $header-height;
24
+ position: relative;
25
+ }
26
+ }
27
+
28
+ .align-items-center { align-items: center; }
29
+
30
+ .text-right { text-align: right; }
31
+
32
+ .block { display: block !important; }
33
+ .inline-block { display: inline-block !important; }
34
+
35
+ .full-width { width: 100%; }
36
+
37
+ /* Columns */
38
+ @for $i from 1 to 8 {
39
+ .col-#{$i} {
40
+ width: ($i / 8 * 100%);
41
+ }
42
+ }
43
+
44
+ /* Borders */
45
+ .border {
46
+ border-color: $border-color;
47
+ &-0 { border: 0; }
48
+ &-top { border-top: $border-weight solid; }
49
+ &-bottom { border-bottom: $border-weight solid; }
50
+ &-left { border-left: $border-weight solid; }
51
+ &-right { border-right: $border-weight solid; }
52
+ &-top-thick { border-top: $border-weight-thick solid; }
53
+ &-bottom-thick { border-bottom: $border-weight-thick solid; }
54
+ &-left-thick { border-left: $border-weight-thick solid; }
55
+ &-right-thick { border-right: $border-weight-thick solid; }
56
+ }
57
+
58
+ /* Padding */
59
+ .p {
60
+ &-0 { padding: 0; }
61
+ &-1 { padding: $space-1; }
62
+ &-2 { padding: $space-2; }
63
+ &-3 { padding: $space-3; }
64
+ &-4 { padding: $space-4; }
65
+ &x {
66
+ &-0 { padding-left: 0; padding-right: 0; }
67
+ &-1 { padding-left: $space-1; padding-right: $space-1; }
68
+ &-2 { padding-left: $space-2; padding-right: $space-2; }
69
+ &-3 { padding-left: $space-3; padding-right: $space-3; }
70
+ &-4 { padding-left: $space-4; padding-right: $space-4; }
71
+ }
72
+ &y {
73
+ &-0 { padding-top: 0; padding-bottom: 0; }
74
+ &-1 { padding-top: $space-1; padding-bottom: $space-1; }
75
+ &-2 { padding-top: $space-2; padding-bottom: $space-2; }
76
+ &-3 { padding-top: $space-3; padding-bottom: $space-3; }
77
+ &-4 { padding-top: $space-4; padding-bottom: $space-4; }
78
+ }
79
+ &t {
80
+ &-0 { padding-top: 0; }
81
+ &-1 { padding-top: $space-1; }
82
+ &-2 { padding-top: $space-2; }
83
+ &-3 { padding-top: $space-3; }
84
+ &-4 { padding-top: $space-4; }
85
+ }
86
+ &r {
87
+ &-0 { padding-right: 0; }
88
+ &-1 { padding-right: $space-1; }
89
+ &-2 { padding-right: $space-2; }
90
+ &-3 { padding-right: $space-3; }
91
+ &-4 { padding-right: $space-4; }
92
+ }
93
+ &b {
94
+ &-0 { padding-bottom: 0; }
95
+ &-1 { padding-bottom: $space-1; }
96
+ &-2 { padding-bottom: $space-2; }
97
+ &-3 { padding-bottom: $space-3; }
98
+ &-4 { padding-bottom: $space-4; }
99
+ }
100
+ &l {
101
+ &-0 { padding-left: 0; }
102
+ &-1 { padding-left: $space-1; }
103
+ &-2 { padding-left: $space-2; }
104
+ &-3 { padding-left: $space-3; }
105
+ &-4 { padding-left: $space-4; }
106
+ }
107
+ }
108
+
109
+ /* Margins */
110
+ .m {
111
+ &-0 { margin: 0; }
112
+ &-1 { margin: $space-1; }
113
+ &-2 { margin: $space-2; }
114
+ &-3 { margin: $space-3; }
115
+ &-4 { margin: $space-4; }
116
+ &x {
117
+ &-auto { margin-left: auto; margin-right: auto; }
118
+ &-0 { margin-left: 0; margin-right: 0; }
119
+ &-1 { margin-left: $space-1; margin-right: $space-1; }
120
+ &-2 { margin-left: $space-2; margin-right: $space-2; }
121
+ &-3 { margin-left: $space-3; margin-right: $space-3; }
122
+ &-4 { margin-left: $space-4; margin-right: $space-4; }
123
+ }
124
+ &y {
125
+ &-0 { margin-top: 0; margin-bottom: 0; }
126
+ &-1 { margin-top: $space-1; margin-bottom: $space-1; }
127
+ &-2 { margin-top: $space-2; margin-bottom: $space-2; }
128
+ &-3 { margin-top: $space-3; margin-bottom: $space-3; }
129
+ &-4 { margin-top: $space-4; margin-bottom: $space-4; }
130
+ }
131
+ &t {
132
+ &-0 { margin-top: 0; }
133
+ &-1 { margin-top: $space-1; }
134
+ &-2 { margin-top: $space-2; }
135
+ &-3 { margin-top: $space-3; }
136
+ &-4 { margin-top: $space-4; }
137
+ }
138
+ &r {
139
+ &-0 { margin-right: 0; }
140
+ &-1 { margin-right: $space-1; }
141
+ &-2 { margin-right: $space-2; }
142
+ &-3 { margin-right: $space-3; }
143
+ &-4 { margin-right: $space-4; }
144
+ }
145
+ &b {
146
+ &-0 { margin-bottom: 0; }
147
+ &-1 { margin-bottom: $space-1; }
148
+ &-2 { margin-bottom: $space-2; }
149
+ &-3 { margin-bottom: $space-3; }
150
+ &-4 { margin-bottom: $space-4; }
151
+ }
152
+ &l {
153
+ &-0 { margin-left: 0; }
154
+ &-1 { margin-left: $space-1; }
155
+ &-2 { margin-left: $space-2; }
156
+ &-3 { margin-left: $space-3; }
157
+ &-4 { margin-left: $space-4; }
158
+ }
159
+ }
160
+
161
+ /* Responsive Margin */
162
+ @media(min-width: $breakpoint-lg) {
163
+ .m {
164
+ &x-lg-auto { margin-left: auto; margin-right: auto; }
165
+ &t-lg {
166
+ &-0 { margin-top: 0; }
167
+ &-1 { margin-top: $space-1; }
168
+ &-2 { margin-top: $space-2; }
169
+ &-3 { margin-top: $space-3; }
170
+ &-4 { margin-top: $space-4; }
171
+ }
172
+ &r-lg {
173
+ &-0 { margin-right: 0; }
174
+ &-1 { margin-right: $space-1; }
175
+ &-2 { margin-right: $space-2; }
176
+ &-3 { margin-right: $space-3; }
177
+ &-4 { margin-right: $space-4; }
178
+ }
179
+ &b-lg {
180
+ &-0 { margin-bottom: 0; }
181
+ &-1 { margin-bottom: $space-1; }
182
+ &-2 { margin-bottom: $space-2; }
183
+ &-3 { margin-bottom: $space-3; }
184
+ &-4 { margin-bottom: $space-4; }
185
+ }
186
+ &l-lg {
187
+ &-0 { margin-left: 0; }
188
+ &-1 { margin-left: $space-1; }
189
+ &-2 { margin-left: $space-2; }
190
+ &-3 { margin-left: $space-3; }
191
+ &-4 { margin-left: $space-4; }
192
+ }
193
+ }
194
+ }
195
+
196
+ /* display flex utils */
197
+ .flex {
198
+ display: flex;
199
+
200
+ &.space-between {
201
+ justify-content: space-between;
202
+ }
203
+ &.align-center {
204
+ align-items: center;
205
+ }
206
+ }
@@ -0,0 +1,55 @@
1
+ /* Font */
2
+ $font-family-sans-serif: "Helvetica Neue", "Archivo", Arial, sans-serif;
3
+ $font-family-mono: "Anonymous Pro", "Consolas", monospace;
4
+ $font-size: 16px;
5
+ $font-size-sm: 12px;
6
+
7
+ $post-font-size: 20px;
8
+
9
+ $h1-size: 64px;
10
+ $h2-size: 48px;
11
+ $h3-size: 32px;
12
+ $h4-size: 24px;
13
+ $h5-size: 18px;
14
+ $h6-size: 14px;
15
+
16
+ /* Colors */
17
+ $color-black: black;
18
+ $color-dark-gray: #666666;
19
+ $color-light-gray: #cccccc;
20
+ $color-lighter-gray: #eeeeee;
21
+ $color-white: white;
22
+
23
+ $header-color: $color-white;
24
+
25
+ $banner-color: $color-light-gray;
26
+ $carousel-height: 400px;
27
+
28
+ $border-color: $color-black;
29
+ $border-weight: 3px;
30
+ $border-weight-thick: 10px;
31
+ $border-radius: 5px;
32
+
33
+ /* Typical sizes */
34
+ $content-width: 1024px;
35
+ $content-height-offset: 152px;
36
+
37
+ $img-width-sm: 208px;
38
+ $img-height-sm: 150px;
39
+
40
+ /* Breakpoints */
41
+ $breakpoint-sm: 576px;
42
+ $breakpoint-lg: 768px;
43
+
44
+ /* Spacing */
45
+ $base-space: 5px !default;
46
+
47
+ $space-1: $base-space !default;
48
+ $space-2: ($base-space * 2) !default;
49
+ $space-3: ($base-space * 4) !default;
50
+ $space-4: ($base-space * 8) !default;
51
+
52
+ $header-height: 64px;
53
+
54
+ /* Transition time */
55
+ $transition-time: 0.3s;