-
Notifications
You must be signed in to change notification settings - Fork 0
/
logo.html
108 lines (97 loc) · 3.05 KB
/
logo.html
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
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap" rel="stylesheet">
<style type="text/css">
:root {
/* default: 500 - EDIT THIS TO SCALE. */
--size: 500px;
/* adjust circle size so that total size with borders is correct */
/* 500 @ 550 */
--circle-size: calc(var(--size) * 0.9091);
/* -275 @ 550 */
--circle-margin: calc(var(--size) / 2 * -1);
/* 25 @ 550 */
--circle-border-size: calc(var(--circle-size) * 0.05);
/* 5 @ 550 */
--char-border-size: calc(var(--circle-size) * 0.01);
/* -75 @ 550 */
--boldbrad-margin: calc(var(--circle-size) * -0.15);
/* 125 @ 550 */
--and-font-size: calc(var(--circle-size) * 0.25);
/* -25 @ 550 */
--and-margin-left: calc(var(--circle-size) * -0.05);
/* -475 @ 550 */
--and-margin-top: calc(var(--circle-size) * -0.95);
/* colors */
--dark-green: #3f8756;
--light-green: #4bdb69;
--green-gradient: -webkit-linear-gradient(45deg, var(--dark-green), var(--light-green));
--dark-orange: #fb9628;
--light-orange: #fdf97c;
--orange-gradient: -webkit-linear-gradient(45deg, var(--dark-orange), var(--light-orange));
}
.center {
left: 50%;
margin-left: var(--circle-margin);
margin-top: var(--circle-margin);
top: 50%;
}
.circle {
border-color: var(--dark-green);
border-radius: 50%;
border-style: solid;
border-width: calc(var(--circle-border-size));
font-family: 'Caveat';
height: var(--circle-size);
position: absolute;
width: var(--circle-size);
}
.circle:before {
background: var(--orange-gradient);
border-radius: 50%;
content: '';
height: var(--circle-size);
position: absolute;
width: var(--circle-size);
}
.char-gradient {
-webkit-text-fill-color: transparent;
-webkit-text-stroke-color: var(--dark-green);
-webkit-text-stroke-width: var(--char-border-size);
-webkit-user-select: none;
background: var(--green-gradient);
/* required to be after background */
-webkit-background-clip: text;
background-clip: text;
height: var(--circle-size);
position: absolute;
text-align: center;
user-select: none;
width: var(--circle-size);
border-radius: 50%;
}
.boldbrad {
font-size: var(--circle-size);
font-weight: 600;
margin-left: var(--boldbrad-margin);
margin-top: var(--boldbrad-margin);
}
.and {
font-size: var(--and-font-size);
font-weight: 700;
margin-left: var(--and-margin-left);
margin-top: var(--and-margin-top);
}
</style>
</head>
<body>
<div class="circle center">
<div class="char-gradient">
<div class="boldbrad">bb</div>
<div class="and">&</div>
</div>
</div>
</body>