-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain-logo.scss
73 lines (65 loc) · 1.12 KB
/
main-logo.scss
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
html,
body {
height: 100%;
width: 100%;
overflow: hidden;
margin: 0;
}
div.loader {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 100;
p {
font-family: 'Helvetica', 'Arial', sans-serif;
margin: 1em 0 0 0;
font-size: 16px;
}
}
$color: black;
$size: 100px;
$borderWidth: 4px;
$redWidth: 27%;
$orangeHeight: 50%;
$whiteWidth: 23%;
div.logo {
width: $size;
height: $size;
border: $borderWidth solid $color;
box-sizing: border-box;
position: relative;
background-color: white;
& > div {
position: absolute;
}
div.white {
border-left: $borderWidth solid $color;
top: 0;
bottom: 0;
right: 0;
width: $whiteWidth;
}
div.orange {
border-top: $borderWidth solid $color;
left: 0;
bottom: 0;
right: 0;
height: $orangeHeight;
background-color: #F3B93F;
}
div.red {
border-right: $borderWidth solid $color;
top: 0;
bottom: 0;
left: 0;
width: $redWidth;
background-color: #EA5664;
}
}