質問編集履歴

2

修正

2019/08/02 06:00

投稿

avicii
avicii

スコア49

test CHANGED
File without changes
test CHANGED
@@ -140,6 +140,10 @@
140
140
 
141
141
 
142
142
 
143
+ }
144
+
145
+
146
+
143
147
  div.contents.center, .sign_up, .life, .free, .info, .own, .avicii {
144
148
 
145
149
  h2 {

1

修正

2019/08/02 06:00

投稿

avicii
avicii

スコア49

test CHANGED
File without changes
test CHANGED
@@ -107,3 +107,177 @@
107
107
  </div>
108
108
 
109
109
  ```
110
+
111
+
112
+
113
+ ```CSS
114
+
115
+ .mainpage {
116
+
117
+ background-color: #fff;
118
+
119
+ height: 2000px;
120
+
121
+ }
122
+
123
+
124
+
125
+ .center {
126
+
127
+ width: 100%;
128
+
129
+ margin-left: 90px;
130
+
131
+ margin-right: 80px;
132
+
133
+ margin-top: 0;
134
+
135
+ margin-bottom: 0;
136
+
137
+ max-width: 1230px;
138
+
139
+ *zoom: 1;
140
+
141
+
142
+
143
+ div.contents.center, .sign_up, .life, .free, .info, .own, .avicii {
144
+
145
+ h2 {
146
+
147
+ @include boxBase(20px 0, 0);
148
+
149
+ font-weight: normal;
150
+
151
+ strong {
152
+
153
+ font-weight: bold;
154
+
155
+ padding-right: 5px;
156
+
157
+ font-size: 1.2em;
158
+
159
+ }
160
+
161
+ }
162
+
163
+ }
164
+
165
+
166
+
167
+ .posts {
168
+
169
+ width: 300px;
170
+
171
+ height: 300px;
172
+
173
+ display: inline-block;
174
+
175
+ }
176
+
177
+
178
+
179
+ div.content_post, .edm_post, .ichiran{
180
+
181
+ @include boxBase(30px 0px, 15px);
182
+
183
+ position: relative;
184
+
185
+ height: 100%;
186
+
187
+ color: #fff;
188
+
189
+ border-radius: 3px;
190
+
191
+ box-shadow: 0 0 1px rgba($black,0.2);
192
+
193
+ display: inline-block;
194
+
195
+ width: 100%;
196
+
197
+ &:after {
198
+
199
+ content: '';
200
+
201
+ position: absolute;
202
+
203
+ top: 0;
204
+
205
+ bottom: 0;
206
+
207
+ left: 0;
208
+
209
+ right: 0;
210
+
211
+ @include filter-gradient(#000000, #a60000, vertical);
212
+
213
+ @include background-image(linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 62%,rgba(0,0,0,0.85) 100%));
214
+
215
+ z-index: 1;
216
+
217
+ border-radius: 3px;
218
+
219
+ }
220
+
221
+ .more {
222
+
223
+ position: absolute;
224
+
225
+ z-index: 2;
226
+
227
+ height: 300px;
228
+
229
+ width: 300px;
230
+
231
+ top: 2px;
232
+
233
+ right: 2px;
234
+
235
+ &:hover ul.more_list {
236
+
237
+ display: block;
238
+
239
+ }
240
+
241
+ ul.more_list {
242
+
243
+ position: absolute;
244
+
245
+ text-align: left;
246
+
247
+ width: 300px;
248
+
249
+ height: 300px;
250
+
251
+ right: 0;
252
+
253
+ display: none;
254
+
255
+ border-radius: 3px;
256
+
257
+ li {
258
+
259
+ border-bottom: 1px solid #ddd;
260
+
261
+ &:last-child {
262
+
263
+ border-bottom: 0;
264
+
265
+ }
266
+
267
+ a {
268
+
269
+ display: block;
270
+
271
+ width: 150px;
272
+
273
+ height: 150px;
274
+
275
+ }
276
+
277
+ }
278
+
279
+ }
280
+
281
+ }
282
+
283
+ ```