-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmain.css
94 lines (79 loc) · 1.36 KB
/
main.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
body {
margin: 0;
}
* {
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}
main {
padding: 1em;
width: 80%;
margin: 0 auto;
height: 100vh;
}
main h1 {
margin-top: 0;
}
#controls {
width: 75%;
padding: 1em;
border: 2px solid black;
margin-bottom: 1em;
float: left;
}
#inputs-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
width: 100%;
}
#controls p {
margin: 0 0 0.5em
}
#word-input-container {
width: 75%;
margin-right: 5%;
height: 85%;
float: right;
}
#word-input-container textarea {
padding: 1em;
height: 100%;
width: -webkit-fill-available;
width: 100%;
border: 2px solid black;
outline: none;
resize: none;
}
#word-counter-container {
width: 20%;
padding: 1em;
height: 95%;
float: right;
border: 2px solid black;
}
aside#word-counter-container h2 {
margin-top: 0;
}
@media (max-width: 992px) {
main {
width: 100%;
}
}
@media (max-width: 620px) {
#controls {
width: 100%;
}
#word-counter-container {
width: 100%;
display: block;
height: auto;
}
#word-input-container {
display: block;
width: 100%;
margin: 1em 0 0;
height: 50vh;
float: left;
}
}