-
Notifications
You must be signed in to change notification settings - Fork 0
/
1.css
120 lines (115 loc) · 2.51 KB
/
1.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
html,body{
margin:0; padding: 0;
/*height:100%;
overflow:hidden;*/
overflow: hidden;
}
header{
background-image: url(https://source.unsplash.com/1600x900/?aurora);
background-color: white;
height: 100vh;
background-size: cover;
background-position: center;
}
/******* QUOTE *********************************************************/
.center{
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.center_bottom{
position: absolute;
left: 50%;
bottom: 10px;
transform: translateX(-50%);
}
a{ /*did this to remove hyperlink from quote*/
pointer-events: none;
cursor: default;
}
.myquotestyle{
color: white;
font-size: 20px;
font-family: Arial;
padding-bottom: 9px;
margin: -25px;
display: flex;
align-items: center;
text-align: center;
transition: 0.3s;
}
.myquotestyle:hover{
bottom: 19px;
}
.myquotestyle:hover .author {
color: rgba(255, 255, 255, 0.788);
opacity: 1;
display: flex;
justify-content: center;
align-items: center;
}
.author{
display: flex;
opacity: 0;
justify-content: center;
align-items: center;
font-family: monospace;
}
#quotep{
font-size: 40px;
}
#quoteclosespan{
font-size: 40px;
}
/****************************************************************/
.left{
background-color: rgb(35, 161, 245);
position: relative;
float: left;
width: 50%; min-width: 50%;
height: 100%; min-height: 100%;
}
.right{
background-color: whitesmoke;
position: relative;
float: right;
width: 50%; min-width: 50%;
height: 100%; min-height: 100%;
}
/******** CLOCK ****************************************************/
.clock{
display:flex;
height:100%;
margin:0; padding:0;
justify-content:center;
align-items:center;
}
.clocktext{
font-kerning: none;
font-size: 100px;
color: white;
font-family: Arial, Helvetica, sans-serif;
transition: 0.4s;
/* text-shadow: 0 0 21px rgba(0, 0, 0, 0.377); */
text-shadow:0 1px 5px rgba(0,0,0,.1);
font-weight: 500;
}
.clocktext:hover{
cursor: default;
transform: translateY(-10px);
}
.clocktextampm{
font-kerning: none;
font-size: 30px;
color: white;
font-family: Arial, Helvetica, sans-serif;
transition: 0.4s;
/* text-shadow: 0 0 50px rgba(0, 0, 0, 0.89); */
text-shadow:0 1px 5px rgba(0,0,0,.1);
font-weight: 500;
}
.clocktextampm:hover{
cursor: default;
transform: translateY(-10px);
}