-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.css
124 lines (101 loc) · 1.49 KB
/
common.css
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
/*
# ここでスタイルをしているClass名
fullH fullW
cV cH grow
scrollX scrollY
listV hide stock
# Tag
h1
*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #EEE;
color: #222;
font-family: "Kokoro", "Rounded Mplus 1c", "Open Sans", 'Noto Sans Japanese', "Yu Gothic", "Meiryo UI", sans-serif;
font-weight: 300;
padding: 0 1em;
}
html,
body,
.fullH {
height: 100%;
}
html,
body,
.fullW {
width: 100%;
}
.cV {
display: flex;
flex-direction: column;
}
.cH {
display: flex;
flex-direction: row;
}
.cV>*,
.cH>* {
flex-shrink: 0;
}
.cH {
display: flex;
flex-direction: row;
}
.grow {
flex-grow: 1;
}
.cWrap {
flex-wrap: wrap;
}
.cCenter {
justify-content: center;
}
.cSpace{
justify-content: space-around;
}
.scrollY {
overflow-y: auto;
}
.scrollX {
overflow-x: auto;
}
.listV>* {
display: block;
margin-bottom: 0.2em;
}
.hide {
display: none;
}
.stack>* {
position: absolute;
}
.stack>*>* {
position: relative;
}
h1 {
display: flex;
font-weight: inherit;
font-size: 1.5rem;
justify-content: left;
}
h1::before,
h1::after {
content: "";
display: inline-block;
flex-grow: 1;
background: linear-gradient(transparent 50%, #AAA 50%, #AAA calc(50% + 2px), transparent calc(50% + 2px));
max-width: 5em;
}
h1::before {
margin-right: 1em;
}
h1::after {
margin-left: 1em;
}
.center {
text-align: center;
}