-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
164 lines (158 loc) · 3.23 KB
/
index.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
.layout {
color: rgb(240, 187, 96);
text-decoration: solid;
background: linear-gradient(
to right,
rgba(0, 0, 0, 0.65) 4%,
rgb(129 72 74) 15%,
rgb(130 82 83) 24%,
rgba(0, 0, 0, 0.65) 42%,
rgb(188 116 118) 54%,
rgb(195 114 116) 55%,
rgb(108 61 63) 82%,
rgb(86 4 9) 95%,
rgba(0, 0, 0, 0.65) 100%
);
}
#clockContainer {
display: flex;
position: relative;
margin: auto;
height: 40vw;
width: 40vw;
background: url(img/clock.png) no-repeat;
background-size: 100%;
}
#hour,
#minute,
#second {
position: absolute;
background: radial-gradient(
ellipse at center,
rgba(180, 221, 180, 1) 0%,
rgba(131, 199, 131, 1) 17%,
rgba(82, 177, 82, 1) 33%,
rgba(0, 138, 0, 1) 67%,
rgba(0, 87, 0, 1) 83%
);
border-radius: 10px;
transform-origin: bottom;
}
#hour {
width: 1.8%;
height: 25%;
top: 25%;
left: 48.85%;
opacity: 0.8;
}
#minute {
width: 1.6%;
height: 30%;
top: 19%;
left: 48.9%;
opacity: 0.8;
}
#second {
width: 1%;
height: 40%;
top: 9%;
left: 49.25%;
opacity: 0.8;
}
#heading {
color: rgb(44, 29, 2);
text-decoration: solid;
background: linear-gradient(
to right,
rgba(0, 0, 0, 0.65) 4%,
rgba(0, 0, 0, 0) 15%,
rgba(0, 0, 0, 0.22) 24%,
rgba(0, 0, 0, 0.65) 42%,
rgba(0, 0, 0, 0.65) 54%,
rgba(0, 0, 0, 0.65) 55%,
rgba(0, 0, 0, 0) 82%,
rgba(0, 0, 0, 0.65) 95%,
rgba(0, 0, 0, 0.65) 100%
);
display: flex;
margin-bottom: 0.2rem;
justify-content: center;
align-content: center;
align-items: center;
height: 12vh;
font-size: 25px;
}
body #footer {
display: flex;
justify-content: center;
align-content: center;
align-items: center;
color: rgb(189, 136, 71);
height: 12vh;
font-size: 15px;
background: linear-gradient(
to right,
rgba(0, 0, 0, 0.65) 4%,
rgba(0, 0, 0, 0) 15%,
rgba(0, 0, 0, 0.22) 24%,
rgba(0, 0, 0, 0.65) 42%,
rgba(0, 0, 0, 0.65) 54%,
rgba(0, 0, 0, 0.65) 55%,
rgba(0, 0, 0, 0) 82%,
rgba(0, 0, 0, 0.65) 95%,
rgba(0, 0, 0, 0.65) 100%
);
}
@media only screen and (max-width: 550px) {
body {
background: linear-gradient(
to right,
rgb(255 255 255) 4%,
rgb(245 245 245) 15%,
rgb(68 42 43) 24%,
rgb(133 79 81) 42%,
rgb(99 61 62) 54%,
rgb(123 66 68) 55%,
rgb(104 37 39) 82%,
rgb(255 255 255) 95%,
rgb(255 255 255) 100%
);
}
body #heading {
font-size: 11px;
font-style: italic;
height: 15vh;
color: rgb(245 245 245);
background: linear-gradient(
to right,
rgb(255 255 255) 4%,
rgb(245 245 245) 15%,
rgb(68 42 43) 24%,
rgb(133 79 81) 42%,
rgb(99 61 62) 54%,
rgb(123 66 68) 55%,
rgb(104 37 39) 82%,
rgb(255 255 255) 95%,
rgb(255 255 255) 100%
);
}
body #imageContainer {
display: flex;
position: relative;
margin: 4vh 32vw;
height: 40vw;
width: 40vw;
background: url(img/vicky.jpg) no-repeat;
background-size: 100%;
}
body #footer {
display: flex;
justify-content: center;
align-content: center;
align-items: center;
color: bisque;
height: 0vh;
font-size: 15px;
z-index:3;
}
}