-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyling.css
169 lines (143 loc) · 3.11 KB
/
styling.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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
.card {
font-family: arial;
font-size: 16px;
text-align: center;
color: black;
background-color: rgb(199, 237, 204);
}
.Explanation {
text-align: left;
display: flex;
flex-direction: column;
align-items: center;
}
.Explanation h1 {
text-align: center;
font-size: 20px;
color: #5e60ce;
}
.Explanation ul {
font-style: italic;
font-family: arial;
line-height: 127%;
margin: 2px 0 6px;
}
li > span {
padding-top: 1px;
}
ol > li {
text-shadow: #008b8b 1px 0 10px;
}
span[style*="background-color"] {
text-shadow: none;
border-radius: 8px;
padding: 0 3px;
}
li::after {
content: "\a";
white-space: pre
}
li {
display: inline;
transition-property: color, text-shadow, text-decoration;
transition-duration: 0.3s;
}
ul li:hover {
color: #7b2cbf;
}
ol > li:hover {
color: #9d4edd;
}
li::before {
content: "";
display: list-item;
position: absolute;
}
.similar h1 {
text-align: center;
font-size: 20px;
}
#similar_words {
font-style: italic;
background-color: #578CFF;
border-radius: 5px;
padding: 1px 6px 2px;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
transition-property: background-color;
transition-duration: 1s;
}
#similar_words[similarHide] {
cursor: pointer;
background-color: #ff8989;
}
#similar {
margin-top: 6px;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 6px;
border-radius: 2.5%;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}
.synonym {
background: #ffadad;
border: 2px solid #e76f51;
border-radius: 3.6vw;
color: #264653;
position: absolute;
padding: 3.1vw 5vw;
top: 20px;
left: 20vw;
font-weight: bold;
font-size: 2.2vw;
}
::selection {
background-color: plum;
text-shadow: none;
}
#myBtn {
display: none; /* Hidden by default */
position: fixed; /* Fixed/sticky position */
bottom: 20px; /* Place the button at the bottom of the page */
left: 5px; /* Place the button 30px from the right */
z-index: 99; /* Make sure it does not overlap */
border: none; /* Remove borders */
outline: none; /* Remove outline */
background-color: #BC8F8F; /* Set a background color */
color: white; /* Text color */
cursor: pointer; /* Add a mouse pointer on hover */
padding: 10px; /* Some padding */
border-radius: 15px; /* Rounded corners */
font-size: 13px; /* Increase font size */
font-weight: bold;
transition-property: background-color;
transition-duration: 0.5s;
}
#myBtn:hover {
background-color: #555; /* Add a dark-grey background on hover */
}
#clock {
height: 20px;
margin-top: 3px;
background: black;
border-radius: 6px;
padding: 2px 6px 2px 4px;
display: inline-block;
color: #17D4FE;
font-size: 18px;
font-family: monospace;
letter-spacing: -1px;
z-index: 100;
transition-property: background-color, color;
transition-duration: 3s;
}
#log {
position: fixed;
transform: translateX(-50%);
top: 0;
left: 50%;
background-color: gray;
width: 100%;
}