-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.css
126 lines (108 loc) · 1.92 KB
/
styles.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
* {
margin: 0;
padding: 0;
border: 0;
box-sizing: border-box;
}
body {
font: 400 14px 'Roboto', sans-serif;
background: rgb(255, 255, 255);
color: rgb(0, 0, 0);
overflow: hidden;
}
header {
display: flex;
justify-content: flex-start;
align-items: center;
padding: 15px 0;
}
.coat-of-arms {
display: block;
width: 70px;
height: 70px;
background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/3/34/Coat_of_arms_of_Hungary.svg/800px-Coat_of_arms_of_Hungary.svg.png') no-repeat center center / contain;
}
.title {
font-size: 24px;
font-weight: 900;
line-height: 1.1rem;
}
main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
width: 100vw;
height: calc(var(--vh, 1vh) * 100 - 200px);
padding: 0 5%;
}
#generated-research-center {
font-size: 48px;
font-weight: 700;
text-transform: capitalize;
}
#generate-button {
font-size: 18px;
font-weight: 700;
color: #fff;
background: rgb(250, 110, 0);
-webkit-tap-highlight-color: transparent;
padding: 10px 15px;
margin-top: 25px;
border-radius: 3px;
cursor: pointer;
outline: 0;
box-shadow: 0 2px 15px rgba(250, 110, 0, .6);
}
footer {
display: flex;
justify-content: center;
align-items: center;
height: 100px;
color: #fff;
text-align: center;
background: rgb(250, 110, 0);
padding: 0 5%;
}
@media (prefers-color-scheme: dark) {
body {
background: rgb(0, 0, 0);
color: rgb(255, 255, 255);
}
}
@media (max-width: 600px) {
.coat-of-arms {
width: 50px;
height: 50px;
}
.title {
font-size: 18px;
}
#generated-research-center {
font-size: 32px;
}
main {
height: calc(var(--vh) * 100 - 160px);
}
footer {
height: 80px;
font-size: 12px;
}
}
@media (max-width: 375px) {
.title {
font-size: 16px;
}
#generated-research-center {
font-size: 24px;
}
#generate-button {
font-size: 14px;
}
}
@media (max-width: 290px) {
#generate-button {
font-size: 12px;
}
}