-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
252 lines (219 loc) · 4.81 KB
/
main.css
File metadata and controls
252 lines (219 loc) · 4.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
/*============================================
全般的なスタイル
============================================*/
* {
margin:0; padding:0; /*全要素のマージン・パディングをリセット*/
line-height:1.5; /*全要素の行の高さを1.5倍にする*/
color:#333333; /*文字色*/
}
body {
text-align:center;
}
div#pagebody {
width:796px; margin:0 auto; /*内容全体をセンタリング*/
text-align:left; /*テキストの配置を左揃えにする*/
background-color:#ffffff; /*内容全体の背景色*/
}
h3 {
color: rgb(0, 7, 104); /*カラムを左寄せにする*/
}
code {
max-height: 350px;
}
i.fa-star{
color: rgb(255, 0, 0);
}
/*============================================
ヘッダ
============================================*/
div#header {
height:77px;
width: 100%;
position: fixed;
background-color:#95e6ff; /*ヘッダ部分の背景色*/
z-index: 2;
top: 0;
}
h1 {
padding:20px 0px 0px 30px; /*見出し内容の位置調整*/
font-family:Arial, Helvetica, sans-serif; /*フォントの種類*/
}
/*============================================
サブメニュー
============================================*/
div#submenu {
width: 25%; /*幅の指定*/
height: auto;
max-height: 80%;
margin:10px 10px 10px 0px;
display:inline;
top:80px;
left:20px;
background-color:#caf3ff;
position: fixed;
overflow: auto;
}
/*サブメニューのヘッダ部分(余白調整・背景画像・背景色・文字サイズなど)*/
div#submenu_header {
color: cornsilk;
height:26px; padding:4px 0px 0px 0px;
background-repeat:no-repeat; background-position:top;
background-color:#0074aa;
font-size:90%; font-weight:bold; text-align:center;
}
/*サブメニューのボディ部分(余白調整・背景画像・背景色)*/
ul#submenu_body,div#ruby_class {
padding-bottom:6px;
padding-left:25px;
background-repeat:no-repeat; background-position:bottom;
}
ul#submenu_body li a:hover {
background-color:#ffffff; /*リンクにマウスが乗ったら色を変える*/
}
ul#submenu_body i {
color: darkblue;
}
ul#subuul, ul#class_ul, ol#subuol {
padding-left:25px;
}
ul > li {
list-style-type: none!important;
}
ul#subuul li:before {
font-family:"Font Awesome 5 Free";
content: '\f005';
color: #ff9e9e;
}
ul#class_ul li:before {
font-family:"Font Awesome 5 Free";
content: '\f02e';
font-weight: 900;
color: #41b137;
}
ul#content li:before {
font-family:"Font Awesome 5 Free";
font-weight: 900;
content: '\f0a4';
color: #ff0000;
}
details summary {
list-style: none;
}
details summary::-webkit-details-marker {
display: none;
}
details summary::before {
font-family:"Font Awesome 5 Free";
font-weight: 900;
color: #ff006a;
content: '\f138';
}
details[open] summary::before {
font-family:"Font Awesome 5 Free";
font-weight: 900;
color: #ff006a;
content: '\f13a';
}
div#ruby_class > details > summary::before {
font-family:"Font Awesome 5 Free";
font-weight: 900;
color: #0ea700;
content: '\f152';
}
div#ruby_class > details[open] summary::before {
font-family:"Font Awesome 5 Free";
font-weight: 900;
color: #0ea700;
content: '\f150';
}
/*============================================
メイン(中央カラム)
============================================*/
div#main {
position:absolute;
margin-top:100px;
padding:25px;
right: 70px;
width:60%; margin-right:5px; padding-top:10px;
left:30%;
}
div#main img.expansion{
width: 70%;
}
div#main video{
width: 70%;
}
div#main img.window_img{
width: 70%;
}
hr#first_boader{
border-top: 3px double blue;
}
hr#second_boader{
border-top: 1px dashed rgb(176, 176, 253);
}
#top_page{
width: 100%;
height: 230%;
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
ul#normal_li li:before {
font-family:"Font Awesome 5 Free";
font-weight: 900;
content: '\f111';
color: #2c2c2c;
}
.txt-border {
display: flex;
align-items: center;
}
.txt-border:before,
.txt-border:after {
content: "";
height: 5px;
flex-grow: 1;
}
.txt-border:before {
background: linear-gradient(-90deg, rgb(192, 41, 41), transparent);
margin-right: 1rem;
}
.txt-border:after {
background: linear-gradient(90deg, rgb(192, 41, 41), transparent);
margin-left: 1rem;
}
.answer_box .answer_show {
height: 0;
padding: 0;
overflow: hidden;
opacity: 0;
transition: 0.8s;
}
/*クリックで中身表示*/
.answer_box input:checked ~ .answer_show {
padding: 10px 0;
height: auto;
opacity: 1;
}
.answer_box label {
padding: 5px;
background: #ff8585;
border-radius: 5px;
}
/*ボタンホバー時*/
.answer_box label:hover {
background: rgb(255, 0, 0);
}
/*チェックは見えなくする*/
.answer_box input {
display: none;
}
.link{
display: block;
margin-top:-100px;
padding-top:100px;
}