-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
87 lines (76 loc) · 1.25 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
/* BASIC STLYING */
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
margin: 0;
padding: 0;
}
body {
font-family: 'Roboto', sans-serif;
font-size: 1rem;
}
/* HEADER SECTION STLYE */
h1 {
text-align: center;
padding: 2rem;
}
/* TILE STLYING */
.centre {
display: flex;
align-items: center;
justify-content: center;
}
.tile-stlyes>* {
display: flex;
align-items: center;
justify-content: center;
margin: 0.5rem;
width: 2.5rem;
height: 2.5rem;
text-transform: uppercase;
border: 1px solid black;
border-radius: 10px;
}
/*SIZES FOR DESKTOP LAYOUT*/
@media (min-width: 650px) {
.tile-stlyes>* {
width: 3.5rem;
height: 3.5rem;
}
}
/* KEYBOARD STLYING */
.container_keyboard {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 2rem;
}
.margin-top>*+* {
margin-top: 0.7rem;
}
button {
cursor: pointer;
width: 1.7rem;
height: 1.7rem;
}
/* ENTER & BACK KEYS */
.row-three button:first-child,
.row-three button:last-child {
width: 3.2rem;
}
/*SIZES FOR DESKTOP LAYOUT*/
@media (min-width: 650px) {
button {
width: 3rem;
height: 3rem;
}
/* ENTER & BACK KEYS */
.row-three button:first-child,
.row-three button:last-child {
width: 5rem;
}
}