-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.css
155 lines (129 loc) · 2.31 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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out
}
main {
padding: 1em 5em;
}
main h1 {
margin-top: 0;
}
#list-controls {
border: 1px solid #5a5a5a;
background-color: #f7f7f7;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
margin-bottom: 1em;
}
.radio-selector {
padding: 1em;
}
.radio-selector + .radio-selector {
border-left: 1px solid #5a5a5a;
}
.radio-selector .select-line {
margin-top: 0.5em;
}
.radio-selector input[type="text"] {
width: 2em;
}
@keyframes octocat-wave {
0%, 100% {
transform:rotate(0)
}
20%, 60% {
transform:rotate(-25deg)
}
40%, 80% {
transform:rotate(10deg)
}
}
#list-form {
display: grid;
grid-template-columns: 1fr 1fr;
}
#list-form button {
margin: 1em 1em 1em 0em;
padding: 0.5em 1em;
background-color: #eee;
border: 1px solid #aeaeae;
transition: .3s;
cursor: pointer;
}
#list-sort-area #list-input {
height: 80%;
width: -webkit-fill-available;
outline: none;
border: 1px solid #555555;
padding: 1em;
font: inherit;
height: 50vh;
}
#sorted-list-area #sorted-list {
border: 1px solid #555555;
height: 80%;
padding: 1em;
overflow: auto;
height: 50vh;
}
@media only screen and (max-width: 992px) {
main {
padding: 1em;
}
#list-controls {
display: grid;
grid-template-rows: 1fr 1fr 1fr 1fr;
grid-template-columns: 1fr;
width: 25%;
float: left;
}
.radio-selector + .radio-selector {
border-left: none;
border-top: 1px solid #5a5a5a;
}
#list-form {
display: grid;
grid-template-rows: 1fr 1fr;
grid-template-columns: 1fr;
width: 70%;
float: right;
}
}
/* Dang two media queries, aren't we fancy */
@media only screen and (max-width: 650px) {
main {
padding: 1em;
}
#list-controls {
display: grid;
grid-template-rows: 1fr 1fr;
grid-template-columns: 1fr 1fr;
width: 100%;
}
.radio-selector + .radio-selector {
border:none
}
.radio-selector:nth-child(2n) {
border-left: 1px solid #5a5a5a
}
.radio-selector:nth-last-of-type(-n+2) {
border-top: 1px solid #5a5a5a
}
#list-form {
display: grid;
grid-template-rows: 1fr 1fr;
grid-template-columns: 1fr;
width: 100%;
float: right;
}
}
#sorted-list-op {
white-space: pre-line;
white-space: pre-wrap;
border: none;
width: 100%;
height: 100%;
outline: none;
}
#sorted-list-area #sorted-list {
overflow: hidden;
}