-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
123 lines (104 loc) · 2.2 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
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Nova+Square&family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap');
* {
padding: 0;
border: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-color: #0e86d4;
}
h1 {
font-family: "Quantico", sans-serif;
font-weight: 700;
font-style: normal;
text-align: center;
font-size: 3em;
color: #003060;
display: block;
width: 100%;
}
.label {
font-family: "Quantico", sans-serif;
font-weight: 700;
font-style: normal;
font-size: 1.7em;
}
@media (orientation: portrait) {
#box {
padding-top: 2em;
padding-bottom: 2em;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
#box1,
#box2 {
width: 95%;
}
}
@media (orientation: landscape) {
body {
max-width: 80vw;
margin: auto;
}
#box {
padding-top: 2em;
padding-bottom: 2em;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
}
#box1,
#box2 {
width: 45%;
}
}
/* These Boxes contain the panel and the text box below it */
#box1,
#box2 {
display: flex;
flex-direction: column;
}
.panel {
font-family: "Nova Square", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 30px;
text-align: center;
color: #003060;
margin-bottom: 40px;
width: 100%;
}
#button {
height: 45px;
/* This aligns the button vertically along the centre between the other two boxes*/
align-self: center;
}
#textInput,
#textOutput {
height: 50vh;
width: 100%;
padding: 1em;
border: 3px dotted grey;
border-radius: 12px;
background-color: #68bbe3;
font-family: "Noto Sans", sans-serif;
font-size: 1em;
font-weight: 700;
font-style: normal;
}
footer {
height: 10vh;
width: 100%;
border-radius: 0.5rem;
background-color: #68bbe3;
font-family: "Quantico", sans-serif;
font-weight: 700;
font-style: normal;
font-size: 1.5em;
color: #003060;
padding: 10px;
}