-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
127 lines (112 loc) · 2.61 KB
/
app.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
@import url("https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@300;400;500&display=swap");
* {
padding: 0;
margin: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
body {
font-family: 'Saira Condensed', sans-serif;
color: #333;
font-size: 20px;
}
.set {
height: 100vh;
display: -ms-grid;
display: grid;
grid-template-areas: ' 1 exchange exchange exchange 2'
' 1 pound dollar euro 2'
'1 null null null 2';
grid-gap: 25px;
-ms-grid-columns: 1fr 200px 200px 200px 1fr;
grid-template-columns: 1fr 200px 200px 200px 1fr;
-ms-grid-rows: 100px 200px 0;
grid-template-rows: 100px 200px 0;
}
.set :hover:not(p) {
-webkit-transform: scale(1.05);
transform: scale(1.05);
}
.set :focus:not(p) {
-webkit-transform: scale(1.05);
transform: scale(1.05);
}
@media screen and (max-width: 770px) {
.set {
grid-template-areas: ' 1 exchange 2 '
' 1 pound 2 '
'1 dollar 2'
'1 euro 2';
-ms-grid-columns: 1fr 15fr 1fr;
grid-template-columns: 1fr 15fr 1fr;
-ms-grid-rows: 80px 200px 200px 200px;
grid-template-rows: 80px 200px 200px 200px;
}
}
.set .title {
-ms-grid-row: 1;
-ms-grid-column: 2;
-ms-grid-column-span: 3;
grid-area: exchange;
border-radius: 50px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
font-size: 2rem;
}
.set .title i {
margin-left: 10px;
}
.set .reach-body {
background-color: #ebecf0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
border-radius: 50px;
-webkit-box-shadow: 2px 3px 8px #b1b1b1;
box-shadow: 2px 3px 8px #b1b1b1;
}
.set .card-pound {
-ms-grid-row: 2;
-ms-grid-column: 2;
grid-area: pound;
}
.set .card-pound #pound {
font-size: 5rem;
}
.set .card-dollar {
-ms-grid-row: 2;
-ms-grid-column: 3;
grid-area: dollar;
}
.set .card-dollar #dollar {
font-size: 5rem;
}
.set .card-euro {
-ms-grid-row: 2;
-ms-grid-column: 4;
grid-area: euro;
}
.set .card-euro #euro {
font-size: 5rem;
}