-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
115 lines (104 loc) · 3.08 KB
/
main.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
html {
height: -webkit-fill-available;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
line-height: 1.2;
min-height: 100vh;
display: flex;
min-height: -webkit-fill-available;
}
#container {
display: flex;
flex-direction: column;
flex-grow: 1;
align-items: center;
justify-content: space-around;
}
#content {
font-size: 5rem;
font-weight: bold;
padding: 5vw 3vw 5vw 3vw;
text-align: center;
flex: 1 1 1px;
}
/* twitter button */
.twitter-btn {
margin: 10px;
width: 76px;
display: block;
text-align: left;
white-space: nowrap;
zoom: 1;
font-size: 13px;
line-height: 26px;
font-family: "Helvetica Neue", Arial, sans-serif;
}
.twitter-btn a {
height: 28px;
padding: 1px 10px 1px 9px;
border-radius: 4px;
position: relative;
font-weight: 500;
color: #fff;
cursor: pointer;
background-color: #1da1f2;
border-radius: 3px;
box-sizing: border-box;
display: inline-block;
text-decoration: none;
}
.twitter-btn a i {
width: 18px;
height: 18px;
top: 4px;
position: relative;
display: inline-block;
background: transparent 0 0 no-repeat;
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2072%2072%22%3E%3Cpath%20fill%3D%22none%22%20d%3D%22M0%200h72v72H0z%22%2F%3E%3Cpath%20class%3D%22icon%22%20fill%3D%22%23fff%22%20d%3D%22M68.812%2015.14c-2.348%201.04-4.87%201.744-7.52%202.06%202.704-1.62%204.78-4.186%205.757-7.243-2.53%201.5-5.33%202.592-8.314%203.176C56.35%2010.59%2052.948%209%2049.182%209c-7.23%200-13.092%205.86-13.092%2013.093%200%201.026.118%202.02.338%202.98C25.543%2024.527%2015.9%2019.318%209.44%2011.396c-1.125%201.936-1.77%204.184-1.77%206.58%200%204.543%202.312%208.552%205.824%2010.9-2.146-.07-4.165-.658-5.93-1.64-.002.056-.002.11-.002.163%200%206.345%204.513%2011.638%2010.504%2012.84-1.1.298-2.256.457-3.45.457-.845%200-1.666-.078-2.464-.23%201.667%205.2%206.5%208.985%2012.23%209.09-4.482%203.51-10.13%205.605-16.26%205.605-1.055%200-2.096-.06-3.122-.184%205.794%203.717%2012.676%205.882%2020.067%205.882%2024.083%200%2037.25-19.95%2037.25-37.25%200-.565-.013-1.133-.038-1.693%202.558-1.847%204.778-4.15%206.532-6.774z%22%2F%3E%3C%2Fsvg%3E);
}
.twitter-btn a span {
margin-left: 4px;
white-space: nowrap;
display: inline-block;
vertical-align: top;
zoom: 1;
}
/* new button */
a.button {
display: inline-block;
padding: 0.7em;
border: 0.16em solid #000;
margin: 0;
box-sizing: border-box;
text-decoration: none;
font-size: 1rem;
font-weight: 400;
color: #000;
text-align: center;
transition: all 0.15s;
cursor: pointer;
touch-action: manipulation;
}
#footer {
margin-top: auto;
text-align: center;
font-size: 0.8rem;
padding-bottom: 20px;
}
@media only screen and (max-device-width: 428px) and (-webkit-min-device-pixel-ratio: 2) {
#content {
font-size: 10vw;
padding: 10vw 3vw 10vw 3vw;
}
a.button {
font-size: 2rem;
}
#footer {
font-size: 2rem;
}
/* twitter button */
.twitter-btn {
zoom: 2;
}
}