-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
83 lines (71 loc) · 1.41 KB
/
styles.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
:root {
--main-container-bg: #0a0a23;
--white-text: #ffffff;
--black-text: #0a0a23;
--purple-border-and-btn:#5a01a7;
--form-box-shadow: #002ead;
--definition-bg: #00471b;
--body-font: Verdana, Geneva, Tahoma, sans-serif;
}
body {
background-color: var(--main-container-bg);
color: var(--white-text);
font-family: var(--body-font);
font-size: 18px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#palindrome-check,
#check-btn,
#palindrome-definition-container {
border-radius: 15px;
}
#main-container {
width: 375px;
text-align: center;
display: flex;
flex-direction: column;
gap: 15px;
}
.freecodecamp-logo {
width: 225px;
}
#palindrome-check {
background-color: var(--white-text);
color: var(--black-text);
padding: 15px 0;
border-bottom: 4px solid var(--form-box-shadow);
}
#palindrome-check label {
font-size: smaller;
}
#input-btn-container {
margin: 15px 0;
}
#text-input {
border: none;
border-bottom: 3px solid var(--purple-border-and-btn);
font-weight: bold;
text-align: center;
}
#check-btn {
background-color: var(--purple-border-and-btn);
color: var(--white-text);
padding: 8px;
border: none;
width: 80px;
margin: 0 5px;
cursor: pointer;
}
.hide {
display: none;
}
#palindrome-definition-container {
background-color: var(--definition-bg);
padding: 8px;
}
#palindrome-definition {
padding: 0 5px;
}