-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
126 lines (115 loc) · 2.09 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
124
125
126
h1 {
font-family: 'Open Sans', sans-serif;
text-align: center;
font-size: 350%;
margin-top: 100px;
margin-bottom: 5px;
font-weight: 500;
}
/*Small underline for the heading*/
.underline-small{
color: black;
position: relative;
}
.underline-small::after{
content: '';
height: 3px;
width: 12%;
background: black;
position: absolute;
margin: auto;
bottom: -5px;
left: 0;
right: 0;
}
p {
font-family: 'Open Sans', sans-serif;
text-align: center;
font-size: 120%;
}
body {
background-color: #D6D6D6;
}
#directions {
font-family: 'Open Sans', sans-serif;
text-align: center;
font-weight: bold;
font-style: italics;
font-size: 80%;
}
.right {
font-family: 'Open Sans', sans-serif;
color: green;
font-weight: bold;
opacity: 0.0;
}
.wrong {
font-family: 'Open Sans', sans-serif;
color: red;
font-weight: bold;
opacity: 0.0;
}
.btn {
font-family: 'Open Sans', sans-serif;
background-color: #e7e7e7;
color: black;
padding: 5px 11px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
font-size: 16px;
margin: auto;
cursor: pointer;
}
/*Button that clears all entries, appears with red text*/
.btnClear {
font-family: 'Open Sans', sans-serif;
background-color: #e7e7e7;
color: red;
padding: 5px 11px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
font-size: 12px;
margin: auto;
cursor: pointer;
}
/*Button CSS for the back to top button, with relevant animation for fading in and out*/
#button {
display: inline-block;
background-color: #7393B3;
width: 100px;
height: 50px;
text-align: center;
border-radius: 4px;
position: fixed;
bottom: 30px;
right: 30px;
transition: background-color .3s,
opacity .5s, visibility .5s;
opacity: 0;
visibility: hidden;
z-index: 1000;
}
#button::after {
content: "Back to Top";
font-family: 'Open Sans', sans-serif;
font-weight: normal;
font-style: normal;
font-size: 90%;
line-height: 50px;
color: #fff;
}
#button:hover {
cursor: pointer;
background-color: #333;
}
#button:active {
background-color: #555;
}
#button.show {
opacity: 1;
visibility: visible;
}