質問編集履歴

1

編集依頼を受けてscssコードの追加

2018/11/08 10:08

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -95,3 +95,189 @@
95
95
  ご助力いただければ幸いです。
96
96
 
97
97
  よろしくお願いいたします。
98
+
99
+
100
+
101
+ 追記(dice142様よりの編集依頼より)
102
+
103
+ ```scss
104
+
105
+ @import "bootstrap-sprockets";
106
+
107
+ @import "bootstrap";
108
+
109
+
110
+
111
+ $gray-medium-light: #eaeaea;
112
+
113
+
114
+
115
+ body {
116
+
117
+ padding-top: 60px;
118
+
119
+ }
120
+
121
+
122
+
123
+ section {
124
+
125
+ overflow: auto;
126
+
127
+ }
128
+
129
+
130
+
131
+ textarea {
132
+
133
+ resize: vertical;
134
+
135
+ }
136
+
137
+
138
+
139
+ .center {
140
+
141
+ text-align: center;
142
+
143
+ h1 {
144
+
145
+ margin-bottom: 10px;
146
+
147
+ }
148
+
149
+ }
150
+
151
+
152
+
153
+ h1, h2, h3, h4, h5, h6 {
154
+
155
+ line-height: 1;
156
+
157
+ }
158
+
159
+
160
+
161
+ h1 {
162
+
163
+ font-size: 3em;
164
+
165
+ letter-spacing: -2px;
166
+
167
+ margin-bottom: 30px;
168
+
169
+ text-align: center;
170
+
171
+ }
172
+
173
+
174
+
175
+ h2 {
176
+
177
+ font-size: 1.2em;
178
+
179
+ letter-spacing: -1px;
180
+
181
+ margin-bottom: 30px;
182
+
183
+ text-align: center;
184
+
185
+ font-weight: normal;
186
+
187
+ color: $gray-light;
188
+
189
+ }
190
+
191
+
192
+
193
+ p {
194
+
195
+ font-size: 1.1em;
196
+
197
+ line-height: 1.7em;
198
+
199
+ }
200
+
201
+
202
+
203
+ #logo {
204
+
205
+ float: left;
206
+
207
+ margin-right: 10px;
208
+
209
+ font-size: 1.7em;
210
+
211
+ color: white;
212
+
213
+ text-transform: uppercase;
214
+
215
+ letter-spacing: -1px;
216
+
217
+ padding-top: 9px;
218
+
219
+ font-weight: bold;
220
+
221
+ &:hover {
222
+
223
+ color: white;
224
+
225
+ text-decoration: none;
226
+
227
+ }
228
+
229
+ }
230
+
231
+
232
+
233
+ footer {
234
+
235
+ margin-top: 45px;
236
+
237
+ padding-top: 5px;
238
+
239
+ border-top: 1px solid $gray-medium-light;
240
+
241
+ color: $gray-light;
242
+
243
+ a {
244
+
245
+ color: $gray;
246
+
247
+ &:hover {
248
+
249
+ color: $gray-darker;
250
+
251
+ }
252
+
253
+ }
254
+
255
+ small {
256
+
257
+ float: left;
258
+
259
+ }
260
+
261
+ ul {
262
+
263
+ float: right;
264
+
265
+ list-style: none;
266
+
267
+ li {
268
+
269
+ float: left;
270
+
271
+ margin-left: 15px;
272
+
273
+ }
274
+
275
+ }
276
+
277
+ }
278
+
279
+ ```
280
+
281
+ 現状ではこのような形になっています。
282
+
283
+ よろしくお願いいたします。