質問編集履歴
1
編集依頼を受けてscssコードの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -46,4 +46,97 @@
|
|
46
46
|
|
47
47
|
色々と調べたのですがついに解決法を見つけることができませんでした。
|
48
48
|
ご助力いただければ幸いです。
|
49
|
+
よろしくお願いいたします。
|
50
|
+
|
51
|
+
追記(dice142様よりの編集依頼より)
|
52
|
+
```scss
|
53
|
+
@import "bootstrap-sprockets";
|
54
|
+
@import "bootstrap";
|
55
|
+
|
56
|
+
$gray-medium-light: #eaeaea;
|
57
|
+
|
58
|
+
body {
|
59
|
+
padding-top: 60px;
|
60
|
+
}
|
61
|
+
|
62
|
+
section {
|
63
|
+
overflow: auto;
|
64
|
+
}
|
65
|
+
|
66
|
+
textarea {
|
67
|
+
resize: vertical;
|
68
|
+
}
|
69
|
+
|
70
|
+
.center {
|
71
|
+
text-align: center;
|
72
|
+
h1 {
|
73
|
+
margin-bottom: 10px;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
h1, h2, h3, h4, h5, h6 {
|
78
|
+
line-height: 1;
|
79
|
+
}
|
80
|
+
|
81
|
+
h1 {
|
82
|
+
font-size: 3em;
|
83
|
+
letter-spacing: -2px;
|
84
|
+
margin-bottom: 30px;
|
85
|
+
text-align: center;
|
86
|
+
}
|
87
|
+
|
88
|
+
h2 {
|
89
|
+
font-size: 1.2em;
|
90
|
+
letter-spacing: -1px;
|
91
|
+
margin-bottom: 30px;
|
92
|
+
text-align: center;
|
93
|
+
font-weight: normal;
|
94
|
+
color: $gray-light;
|
95
|
+
}
|
96
|
+
|
97
|
+
p {
|
98
|
+
font-size: 1.1em;
|
99
|
+
line-height: 1.7em;
|
100
|
+
}
|
101
|
+
|
102
|
+
#logo {
|
103
|
+
float: left;
|
104
|
+
margin-right: 10px;
|
105
|
+
font-size: 1.7em;
|
106
|
+
color: white;
|
107
|
+
text-transform: uppercase;
|
108
|
+
letter-spacing: -1px;
|
109
|
+
padding-top: 9px;
|
110
|
+
font-weight: bold;
|
111
|
+
&:hover {
|
112
|
+
color: white;
|
113
|
+
text-decoration: none;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
footer {
|
118
|
+
margin-top: 45px;
|
119
|
+
padding-top: 5px;
|
120
|
+
border-top: 1px solid $gray-medium-light;
|
121
|
+
color: $gray-light;
|
122
|
+
a {
|
123
|
+
color: $gray;
|
124
|
+
&:hover {
|
125
|
+
color: $gray-darker;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
small {
|
129
|
+
float: left;
|
130
|
+
}
|
131
|
+
ul {
|
132
|
+
float: right;
|
133
|
+
list-style: none;
|
134
|
+
li {
|
135
|
+
float: left;
|
136
|
+
margin-left: 15px;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
```
|
141
|
+
現状ではこのような形になっています。
|
49
142
|
よろしくお願いいたします。
|