-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
142 lines (140 loc) · 3.13 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
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
140
141
142
#nepal-flag{
width: 400px;
margin: 40px auto;
position: relative;
}
/*----------Blue border--------------*/
.outer-triangle-top,
.outer-triangle-bottom{
width: 0;
height: 0;
border-bottom: 250px solid #0060a9;
border-right: 250px solid transparent;
position: relative;
}
.outer-triangle-top{
border-bottom: 202px solid #0060a9;
}
.outer-triangle-bottom{
top: -103px;
border-bottom: 300px solid #0060a9;
border-right: 300px solid transparent;
}
/*--------Red flag--------------*/
.red_flag{
left: 14px;
position: absolute;
top: 30px;
z-index: 9;
}
.inner-triangle-top,
.inner-triangle-bottom{
width: 0;
height: 0;
border-bottom: 200px solid #ef3e33;
border-right: 200px solid transparent;
position: relative;
}
.inner-triangle-top{
border-bottom: 159px solid #ef3e33;
}
.inner-triangle-bottom{
border-bottom: 253px solid #ef3e33;
border-right: 251px solid transparent;
top: -55px;
}
/*--------Moon--------------*/
#moon{
position: absolute;
left: 30px;
top: 103px;
z-index: 11;
}
.shape{
background: #fff;
width: 70px;
height: 70px;
border-radius: 35px;
position: relative;
}
.shape:after{
background: #ef3e33;
border-radius: 35px;
content: "";
height: 58px;
left: 0;
position: absolute;
top: 0;
width: 70px;
}
.star{
background: #fff;
height: 40px;
left: 15px;
position: absolute;
top: 19px;
width: 40px;
z-index: 10;
}
.star:before {
height: 40px;
width: 40px;
background: #fff;
content:"";
position: absolute;
/* Rotate */
-moz-transform: rotate(30deg);
-webkit-transform: rotate(30deg);
-ms-transform: rotate(30deg);
-o-transform: rotate(30deg);
transform: rotate(30deg);
}
.star:after {
height: 40px;
width: 40px;
background: #fff;
content:"";
position: absolute;
/* Rotate */
-moz-transform: rotate(-30deg);
-webkit-transform: rotate(-30deg);
-ms-transform: rotate(-30deg);
-o-transform: rotate(-30deg);
transform: rotate(-30deg);
}
/*--------Sun--------------*/
#sun{
background: #fff;
height: 58px;
left: 50px;
position: absolute;
top: 277px;
width: 58px;
z-index: 10;
}
#sun:before {
height: 58px;
width: 58px;
background: #fff;
content:"";
position: absolute;
/* Rotate */
-moz-transform: rotate(30deg);
-webkit-transform: rotate(30deg);
-ms-transform: rotate(30deg);
-o-transform: rotate(30deg);
transform: rotate(30deg);
}
#sun:after {
height: 58px;
width: 58px;
background: #fff;
content:"";
position: absolute;
/* Rotate */
-moz-transform: rotate(-30deg);
-webkit-transform: rotate(-30deg);
-ms-transform: rotate(-30deg);
-o-transform: rotate(-30deg);
transform: rotate(-30deg);
}