1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | @import 'index';
|
22 | @import 'header';
|
23 | @import 'hero';
|
24 | @import 'toc';
|
25 | @import 'search';
|
26 |
|
27 | @import 'demo';
|
28 | @import 'highlight';
|
29 | @import 'markdown';
|
30 | @import 'typography';
|
31 | @import 'utils';
|
32 | @import 'variables';
|
33 |
|
34 | * {
|
35 | box-sizing: border-box;
|
36 | margin: 0;
|
37 | padding: 0;
|
38 | font: inherit;
|
39 | color: inherit;
|
40 | border: none;
|
41 | background: transparent;
|
42 | }
|
43 |
|
44 | html, body {
|
45 | height: 100vh;
|
46 | }
|
47 |
|
48 | #root {
|
49 | display: flex;
|
50 | flex-direction: column;
|
51 | min-height: 100vh;
|
52 | }
|
53 |
|
54 | #root > div {
|
55 | display: flex;
|
56 | position: relative;
|
57 | flex-direction: column;
|
58 | flex-grow: 1;
|
59 | > div {
|
60 | display: flex;
|
61 | flex-direction: column;
|
62 | flex-grow: 1;
|
63 | margin-top: $topbar-height;
|
64 | }
|
65 | }
|
66 |
|
67 | body {
|
68 | font-family: $font-family, "Helvetica Neue", Helvetica, sans-serif !important;
|
69 | font-size: 16px;
|
70 | line-height: 24px;
|
71 | overflow-y: auto;
|
72 | }
|
73 |
|
74 | a {
|
75 | outline: none;
|
76 | text-decoration: none;
|
77 | display: inline-block;
|
78 | cursor: pointer;
|
79 | color: $primary;
|
80 | &:visited {
|
81 | color: $primary;
|
82 | }
|
83 | }
|
84 |
|
85 | h2 {
|
86 | font-size: 28px;
|
87 | line-height: 40px;
|
88 | font-weight: 400;
|
89 | margin: 0 0 8px;
|
90 | }
|
91 |
|
92 | h3 {
|
93 | font-size: 24px;
|
94 | line-height: 36px;
|
95 | font-weight: 400;
|
96 | margin: 32px 0 8px;
|
97 | }
|
98 |
|
99 | .Contributors {
|
100 | display: flex;
|
101 | flex-wrap: wrap;
|
102 | justify-content: center;
|
103 |
|
104 | .Contributor {
|
105 | width: 10rem;
|
106 | height: 10rem;
|
107 | position: relative;
|
108 | background-color: rgba(black, 0.1);
|
109 |
|
110 | span {
|
111 | position: absolute;
|
112 | bottom: 0.5rem;
|
113 | left: 0.5rem;
|
114 | font-weight: bold;
|
115 | color: white;
|
116 | text-shadow: 3px 3px 3px black;
|
117 | }
|
118 |
|
119 | img {
|
120 | opacity: 0.9;
|
121 | transition: opacity 250ms ease-in;
|
122 | }
|
123 |
|
124 | &:hover img {
|
125 | opacity: 1;
|
126 | }
|
127 | }
|
128 | }
|
129 |
|
130 | .container {
|
131 | max-width: 80rem;
|
132 | width: 100%;
|
133 | margin: 0 auto;
|
134 | }
|
135 |
|
136 | hr {
|
137 | border: none;
|
138 | background-color: $white;
|
139 | height: 1px;
|
140 | &.short {
|
141 | display: inline-block;
|
142 | margin: 24px 0 0;
|
143 | width: 32px;
|
144 | height: 2px;
|
145 | background: $gradient-1;
|
146 | }
|
147 | }
|
148 |
|
149 | footer {
|
150 | position: absolute;
|
151 | bottom: -$footer-height;
|
152 | width: 100%;
|
153 | z-index: 2;
|
154 |
|
155 | background-image: url(data:image/gif;base64,R0lGODlhIAAgAKIAABUjMRYkMhclM0xXYU1YYgAAAAAAAAAAACwAAAAAIAAgAAADKjgjEP4wyklWmzg/IbTPwPWNZGmeaKqubOu+cCzPdG3feK7vfO//wKAwAQA7);
|
156 | background-size: 32px;
|
157 | background-repeat: repeat;
|
158 | background-position: 16px -8px;
|
159 | color: $white;
|
160 | height: $footer-height;
|
161 | padding: 4rem 0 4rem 2rem;
|
162 |
|
163 | h4 {
|
164 | font-size: 12px;
|
165 | line-height: 20px;
|
166 | font-weight: 400;
|
167 | letter-spacing: 2px;
|
168 | opacity: 0.4;
|
169 | margin-bottom: 1rem;
|
170 | margin-right: 1rem;
|
171 | }
|
172 |
|
173 | img {
|
174 | display: inline-block;
|
175 | }
|
176 | }
|