-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylesheet.css
121 lines (105 loc) · 1.98 KB
/
stylesheet.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
/* Basic stuff */
body {
font-family: 'Roboto', sans-serif;
margin: 0%;
min-height: 100vh;
display: flex;
flex-direction: column;
background-image: linear-gradient(45deg, orange, blue);
}
* {
box-sizing: border-box;
}
/* Calculator */
#calculator {
padding: 20px;
display: flex;
flex-direction: column;
width: 50%;
margin: auto;
margin-top: 5em;
border-radius: 20px;
background-color: white;
}
#calculator button {
width: 80%;
height: 4em;
margin: auto;
color: white;
border-radius: 10px;
border-width: 0px;
background-image: linear-gradient(-60deg, purple, blue, blue, blue);
background-size: 300%;
background-position: 50%;
transition: background-position 0.2s ease-out;
}
#calculator button:hover {
background-position: 100%;
cursor: pointer;
}
/* Forms */
.flex-box {
display: flex;
flex-direction: row;
}
.flex-box div {
margin: auto;
margin-bottom: 5em;
}
/* Results */
#results {
width: 50%;
margin: auto;
padding: 20px;
margin-top: 20px;
margin-bottom: 2em;
border-radius: 20px;
background-color: white;
text-align: center;
display: none;
}
#resultsGrid {
display: grid;
column-gap: 10px;
row-gap: 10px;
grid-template-columns: auto auto auto auto;
}
#resultsGrid div {
border-radius: 5px;
background-color: #D7D9E0;
margin: 5px;
display: flex;
flex-direction: column;
}
#resultsGrid p {
display: block;
text-align: center;
margin: 10%;
}
#resultsGrid div:hover {
background-color: #89CFF0;
}
.geneText {
font-weight: 500;
}
/* Footer */
#footer {
color: #C4C4C4;
text-align: center;
background-color: #292929;
width: 100%;
display: grid;
padding-bottom: 1em;
}
#footer a:visited {
color: #C4C4C4;
text-decoration: none;
}
#footer a:hover {
color: #C4C4C4;
text-decoration: none;
}
#footer a:active {
color: #C4C4C4;
text-decoration: none;
}