-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathdemo.css
139 lines (125 loc) · 2.47 KB
/
demo.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
html,
body {
padding: 0;
margin: 0;
height: 100%;
}
body {
position: relative;
background-color: #5888aa;
-webkit-text-size-adjust: none;
font-family: Arial, Helvetica, Verdana;
font-size: 20px;
line-height: 30px;
color: #fff;
}
h1 {
margin: 0 0 100px;
text-shadow: 8px 10px 1px rgba(0, 0, 0, 0.1);
text-transform: lowercase;
font-family: "Pacifico", Arial, sans-serif;
font-weight: normal;
font-size: 150px;
line-height: 1;
letter-spacing: -6px;
}
pre {
font-size: 16px;
line-height: 24px;
width: 100%;
overflow: auto;
margin: 75px 0;
}
@media (max-width: 500px) {
h1 {
font-size: 105px;
letter-spacing: -2px;
}
}
select {
display: block;
width: 100%;
padding: 15px;
border: unset;
border-radius: 5px;
background: #ffffff99;
}
a,
a:hover {
color: #fff;
text-decoration: underline;
}
#page {
max-width: 600px;
min-width: 300px;
width: 90%;
padding: 100px 10px;
margin: auto;
}
.xmpls {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 75px -10px;
}
.xmpl {
position: relative;
box-sizing: border-box;
width: calc(50% - 20px);
padding-top: calc(50% - 20px);
margin: 10px;
background: rgba(255, 255, 255, 0.05);
box-shadow: 6px 8px 1px rgba(0, 0, 0, 0.1);
transition: none 0.2s ease;
transition-property: background-color, box-shadow, transform;
text-align: center;
cursor: pointer;
}
.xmpl:hover {
background: rgba(255, 255, 255, 0.15);
box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.15);
transform: translateY(2px);
}
@media (min-width: 1280px) {
.xmpls {
margin-left: -320px;
margin-right: -320px;
}
.xmpl {
width: calc(25% - 20px);
padding-top: calc(25% - 20px);
}
}
.xmpl > mm-burger {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.xmpl > span {
position: absolute;
bottom: 10%;
left: 0;
right: 0;
}
mm-burger {
padding: 5px;
}
mm-burger.custom-burger-1 {
--mb-bar-height: 5px;
--mb-bar-spacing: 5px;
padding: 10px 15px;
border-radius: 10px;
border: 2px solid #fff;
}
mm-burger.custom-burger-2 {
--mb-bar-width: 50px;
--mb-bar-height: 2px;
--mb-bar-spacing: 12px;
width: 80px;
height: 80px;
padding: 25px 15px;
border-radius: 40px;
background-color: rgba(255, 255, 255, 0.7);
color: #3ea7e1;
}