-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
110 lines (110 loc) · 1.68 KB
/
style.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
* {
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
padding: 10px;
background: #efefef;
font-family: 'Source Sans Pro', sans-serif;
color: #333;
}
@media (min-width: 600px) {
body {
padding: 60px 10px;
}
}
h1 {
margin: 0;
font-family: 'Bree Serif', serif;
font-size: 36px;
}
p {
margin-top: 20px;
margin-bottom: 0;
padding: 0;
font-size: 20px;
line-height: 1.5;
}
li {
font-size: 20px;
line-height: 1.5;
}
a {
color: #239a3b;
text-decoration: none;
}
a:hover {
color: #196127;
}
img {
width: auto ;
max-width: 100% ;
height: auto ;
}
.wrapper {
width: 100%;
max-width: 800px;
min-height: 400px;
margin: 10px;
background: #fff;
border-bottom: 1px solid #d8d8d8;
box-shadow: 0 1px 4px 0 rgba(0,0,0,0.1);
}
.header {
display: flex;
box-shadow: 0 48px 80px -32px rgba(0,0,0,0.3);
}
.tabs {
display: flex;
flex-wrap: wrap;
background: #e5e5e5;
box-shadow: 0 48px 80px -32px rgba(0,0,0,0.3);
}
.input {
position: absolute;
opacity: 0;
}
.label {
width: 100%;
padding: 20px 30px;
background: #e5e5e5;
cursor: pointer;
font-weight: bold;
font-size: 18px;
color: #7f7f7f;
transition: background 0.1s, color 0.1s;
}
.label:hover {
background: #d8d8d8;
}
.label:active {
background: #ccc;
}
.input:focus + .label {
box-shadow: inset 0px 0px 0px 3px #2aa1c0;
z-index: 1;
}
.input:checked + .label {
background: #fff;
color: #000;
}
@media (min-width: 600px) {
.label {
width: auto;
}
}
.panel {
display: none;
padding: 20px 30px 30px;
background: #fff;
width: 100%;
}
@media (min-width: 600px) {
.panel {
order: 99;
}
}
.input:checked + .label + .panel {
display: block;
}