-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
114 lines (95 loc) · 2.01 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
body {
background-color: hsl(212, 45%, 89%);
}
h1, p, a, div {
font-family: 'Outfit', sans-serif;
text-align: center;
}
.qr-container {
width: 320px;
height: 490px;
margin: calc( ((100vh - 490px) / 2) )
calc( (100vw - 320px) / 2 );
background-color: hsl(0, 0%, 100%);
border-radius: 5%;
}
#qr-code-img {
width: 90%;
border-radius: 5%;
margin: 5%;
}
.qr-container > h1,
.qr-container > p {
margin: 3% 10%;
}
#qr-code-title {
color: hsl(218, 44%, 22%);
font-size: 23px;
font-weight: 700;
}
#qr-code-span {
color: hsl(220, 15%, 55%);
font-size: 15px;
font-weight: 400;
}
/* not part of the challenge */
.attribution {
display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
display: -ms-flexbox; /* TWEENER - IE 10 */
display: -webkit-flex; /* NEW - Chrome */
display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
justify-content: center;
align-items: center;
width: 100%;
position: fixed;
bottom: 0%;
}
.attribution > * {
font-size: 0.75em;
margin: 0 5px;
}
.rate {
display: inline-block;
width: 0.75em;
height: 0.75em;
background-color: rgb(155, 205, 238);
margin: 0 2px;
border-radius: 50%;
}
.rate-lit {
background-color: rgb(81, 140, 180);
}
.separator {
display: inline-block;
border: solid 2px #597175;
}
@media only screen and (min-width: 881px) {
.text-cutter {
display: none;
}
}
@media only screen and (max-width: 880px) {
.text-cutter {
display: inline-block;
}
}
@media only screen and (min-width: 425px) {
.attribution {
flex-direction: row;
}
.separator {
width: 0;
min-height: 15px;
}
}
@media only screen and (max-width: 424px) {
.attribution {
flex-direction: column;
}
.separator {
width: 30px;
height: 0;
margin: 3px 0;
}
}