-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
188 lines (185 loc) · 3.44 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
body {
font-family: "Hind Siliguri", Helvetica, sans-serif;
}
img {
-webkit-filter: grayscale(100%);
/* Safari 6.0 - 9.0 */
filter: grayscale(100%);
max-width: 100%;
max-height: 100%;
}
.app {
display: flex;
flex-direction: column;
margin: 10px;
}
.app .header {
width: 100%;
}
.app .header .logo {
width: 100%;
height: 200px;
object-fit: contain;
margin: auto;
}
.app .header .headerInfo {
display: flex;
justify-content: space-between;
}
.app .header .headerInfo .headerInfoItem {
margin: 2px;
}
.app .header #logoContainer {
position: relative;
}
.app .header #quoteOfTheDay {
position: absolute;
border: 1px solid black;
margin: 40px 20px;
padding: 20px;
width: 18%;
}
@media only screen and (max-width: 768px) {
.app .header #quoteOfTheDay {
position: inherit;
width: 90%;
margin: 10px 0 0 0;
}
}
.app .headlineContainer {
display: flex;
padding: 10px 0px;
}
.app .headlineContainer #resumeIntro {
width: 30%;
border: 1px solid black;
padding: 10px;
}
.app .headlineContainer #newsHeadlines {
width: 70%;
margin: 0px 10px;
display: flex;
justify-content: space-around;
}
.app .headlineContainer #newsHeadlines h1, .app .headlineContainer #newsHeadlines h6 {
margin: 0px;
}
.app .heading {
margin: 0px;
padding: 2px;
background: black;
color: white;
}
.app .footer {
display: flex;
justify-content: space-around;
}
.app .box {
padding: 10px;
}
.app .box.dark-mode {
background: black;
color: #bbb;
}
.app .box.dark-mode h1 {
color: white;
margin: 0px;
}
.app .nobullets {
list-style-type: none;
}
.app .card {
display: flex;
margin: 10px 0px;
}
.app .card .cardImg {
margin: 10px 10px 0px 0px;
max-width: 80px;
max-height: 80px;
object-fit: contain;
}
.app #resumeDetails {
border: 1px solid black;
padding: 10px;
margin-bottom: 20px;
}
.app #additionalNews {
display: flex;
justify-content: space-between;
}
.app #additionalNews .newsDisplay {
margin: 10px;
}
.app #additionalNews .newsDisplay .newsDisplayTitle {
line-height: 2.5ex;
text-overflow: ellipsis;
height: 7.5ex;
/* 2.5ex for each visible line */
overflow: hidden;
}
.app #additionalNews .newsDisplay .newsDisplayAuthor {
line-height: 2.5ex;
text-overflow: ellipsis;
height: 2.5ex;
/* 2.5ex for each visible line */
overflow: hidden;
}
@keyframes tint {
50% {
border: 1px solid black;
}
}
@keyframes fill {
50% {
transform: scale(0.8);
}
}
.loader {
color: #EEB771;
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
align-items: center;
text-align: center;
padding: 2rem 0;
}
.loader__dots__dot {
width: 20px;
height: 20px;
background: transparent;
display: inline-block;
border: 1px solid white;
position: relative;
margin-right: 10px;
}
.loader__dots__dot:before {
content: "";
width: 18px;
height: 18px;
display: block;
background: white;
position: absolute;
transform: scale(0.5);
top: 0;
left: 0;
transform-origin: center;
}
.loader__dots__dot:nth-child(1) {
animation: tint 1200ms infinite;
}
.loader__dots__dot:nth-child(1):before {
animation: fill 1200ms infinite;
}
.loader__dots__dot:nth-child(2) {
animation: tint 1200ms infinite 200ms;
}
.loader__dots__dot:nth-child(2):before {
animation: fill 1200ms infinite 200ms;
}
.loader__dots__dot:nth-child(3) {
animation: tint 1200ms infinite 400ms;
}
.loader__dots__dot:nth-child(3):before {
animation: fill 1200ms infinite 400ms;
}