File tree 1 file changed +231
-0
lines changed
1 file changed +231
-0
lines changed Original file line number Diff line number Diff line change
1
+ /* General Styles */
2
+ body {
3
+ background-image : linear-gradient (# fec8d8, # ffdfd3 );
4
+ line-height : 1 ;
5
+ width : 700px ;
6
+ margin : 0 auto;
7
+ background-color : # fafafa ;
8
+ font-family : 'Source Sans Pro' , sans-serif;
9
+ color : # 111 ;
10
+ }
11
+
12
+ html {
13
+ box-sizing : border-box;
14
+ user-select : none;
15
+ }
16
+
17
+ * ,
18
+ * ::before ,
19
+ * ::after {
20
+ box-sizing : inherit;
21
+ }
22
+
23
+ /* Reset Styles */
24
+ article ,
25
+ aside ,
26
+ details ,
27
+ figcaption ,
28
+ figure ,
29
+ footer ,
30
+ header ,
31
+ hgroup ,
32
+ menu ,
33
+ nav ,
34
+ section {
35
+ display : block;
36
+ }
37
+
38
+ ol ,
39
+ ul {
40
+ list-style : none;
41
+ }
42
+
43
+ blockquote ,
44
+ q {
45
+ quotes : none;
46
+ }
47
+
48
+ blockquote ::before ,
49
+ blockquote ::after ,
50
+ q ::before ,
51
+ q ::after {
52
+ content : none;
53
+ }
54
+
55
+ table {
56
+ border-collapse : collapse;
57
+ border-spacing : 0 ;
58
+ }
59
+
60
+ /* Typography */
61
+ b {
62
+ font-weight : bold;
63
+ }
64
+
65
+ /* Container */
66
+ .container {
67
+ margin : 2% auto;
68
+ padding : 15px ;
69
+ background-color : # fff ;
70
+ box-shadow : 0 1px 4px 0 rgba (0 , 0 , 0 , 0.2 );
71
+ }
72
+
73
+ /* Headings */
74
+ h1 {
75
+ font-size : 3rem ;
76
+ font-weight : 900 ;
77
+ text-align : center;
78
+ margin : 1% 0 3% ;
79
+ }
80
+
81
+ /* Textarea */
82
+ textarea {
83
+ width : 100% ;
84
+ height : 250px ;
85
+ padding : 10px ;
86
+ border : 1px solid # d9d9d9 ;
87
+ outline : none;
88
+ font-size : 1rem ;
89
+ resize : none;
90
+ line-height : 1.5rem ;
91
+ transition : border-color 0.3s ;
92
+ }
93
+
94
+ textarea : hover {
95
+ border-color : # c0c0c0 ;
96
+ }
97
+
98
+ textarea : focus {
99
+ border-color : # 4d90fe ;
100
+ }
101
+
102
+ /* Output Row */
103
+ .output .row {
104
+ width : 100% ;
105
+ border : 1px solid # ddd ;
106
+ font-size : 1.4rem ;
107
+ margin : 1% 0 ;
108
+ background-color : # f9f9f9 ;
109
+ display : flex;
110
+ flex-wrap : wrap;
111
+ }
112
+
113
+ .output .row div {
114
+ flex : 1 1 42% ;
115
+ padding : 10px 15px ;
116
+ margin : 1% ;
117
+ }
118
+
119
+ .output .row span {
120
+ font-weight : bold;
121
+ font-size : 1.5rem ;
122
+ }
123
+
124
+ /* Readability */
125
+ # readability {
126
+ width : 52% ;
127
+ font-weight : bold;
128
+ cursor : pointer;
129
+ transition : background-color 0.3s , color 0.3s ;
130
+ }
131
+
132
+ # readability : hover {
133
+ background-color : # 4d90fe ;
134
+ color : # fff ;
135
+ border-radius : 2px ;
136
+ }
137
+
138
+ # readability : active {
139
+ background-color : # 307af3 ;
140
+ }
141
+
142
+ /* Keywords */
143
+ .keywords {
144
+ display : none;
145
+ margin : 4% 0 0 ;
146
+ font-size : 2rem ;
147
+ font-weight : 900 ;
148
+ }
149
+
150
+ .keywords ul {
151
+ font-weight : 400 ;
152
+ border : 1px solid # ddd ;
153
+ font-size : 1.4rem ;
154
+ background-color : # f9f9f9 ;
155
+ margin : 2% 0 ;
156
+ }
157
+
158
+ .keywords li {
159
+ display : inline-block;
160
+ width : 44% ;
161
+ padding : 10px ;
162
+ margin : 1% ;
163
+ }
164
+
165
+ /* Responsive Design */
166
+ @media (max-width : 750px ) {
167
+ body {
168
+ width : 600px ;
169
+ }
170
+
171
+ .output .row {
172
+ font-size : 1.2rem ;
173
+ }
174
+
175
+ .output .row span {
176
+ font-size : 1.3rem ;
177
+ }
178
+
179
+ .keywords ul {
180
+ font-size : 1.2rem ;
181
+ }
182
+ }
183
+
184
+ @media (max-width : 600px ) {
185
+ body {
186
+ width : 95% ;
187
+ }
188
+
189
+ .output .row {
190
+ border : none;
191
+ background-color : # fff ;
192
+ }
193
+
194
+ .output .row div {
195
+ flex : 1 1 100% ;
196
+ padding : 10px 15px ;
197
+ margin : 2% auto;
198
+ border : 1px solid # ddd ;
199
+ font-size : 1.8rem ;
200
+ background-color : # f9f9f9 ;
201
+ }
202
+
203
+ .output .row span {
204
+ font-size : 2rem ;
205
+ }
206
+
207
+ # readability {
208
+ width : 100% ;
209
+ font-size : 1.6rem ;
210
+ font-weight : 400 ;
211
+ }
212
+
213
+ .keywords {
214
+ margin : 10% auto;
215
+ }
216
+
217
+ .keywords ul {
218
+ font-weight : 400 ;
219
+ border : none;
220
+ font-size : 1.8rem ;
221
+ background-color : # f9f9f9 ;
222
+ margin : 5% 0 ;
223
+ }
224
+
225
+ .keywords li {
226
+ flex : 1 1 100% ;
227
+ padding : 10px ;
228
+ margin : 2% auto;
229
+ border : 1px solid # ddd ;
230
+ }
231
+ }
You can’t perform that action at this time.
0 commit comments