-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
107 lines (89 loc) · 1.32 KB
/
styles.css
File metadata and controls
107 lines (89 loc) · 1.32 KB
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
body {
margin: 0;
padding: 0;
font-family: sans-serif;
background-color: #f0f0f0;
}
header {
position: absolute;
top: 20px;
left: 30px;
}
h1 {
font-size: 1.8rem;
margin: 0;
}
main {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 80px;
}
#vis-container {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 40px;
}
#info {
width: 240px;
font-size: 1rem;
}
#residueSet {
margin-bottom: 20px;
line-height: 1.4;
}
#residueSet b {
display: block;
margin-bottom: 4px;
}
.controls {
display: flex;
flex-direction: column;
gap: 10px;
}
button {
padding: 6px 12px;
font-size: 0.8rem;
cursor: pointer;
}
input[type="number"] {
width: 60px;
padding: 5px;
font-size: 1rem;
margin-left: 6px;
margin-right: 6px;
}
.modulus-line {
display: flex;
align-items: center;
gap: 10px;
}
.modulus-line input[type="number"] {
flex-grow: 1;
margin-right: 0;
}
.full-width {
width: 100%;
}
@media (max-width: 768px) {
#vis-container {
flex-direction: column;
align-items: center;
gap: 30px;
}
svg {
width: 90vw;
height: 90vw;
max-width: 400px;
max-height: 400px;
}
#info {
width: 90%;
max-width: 400px;
}
button, input[type="number"] {
font-size: 1rem;
}
}