-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
89 lines (78 loc) · 1.69 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
body {
font-family: Consolas, monospace;
font-size: 10pt;
background-color: #f4f4f4;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
width: 60%;
max-height: 80vh; /* Limit the height for scrolling */
background-color: white;
border: 2px solid #ff69b4;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
overflow-y: auto;
}
h1 {
text-align: center;
margin-top: 0;
font-size: 1.8em;
}
/* Subheading styling */
.subheading {
font-size: 0.9em;
text-align: center;
margin: 10px 0 15px;
color: #555;
}
.subheading a {
color: #0078D4;
text-decoration: none;
}
.subheading a:hover {
text-decoration: underline;
}
/* Search bar styling */
#searchBar {
width: 100%;
padding: 8px;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 5px;
font-family: Consolas, monospace;
font-size: 10pt;
}
/* Terms container styling */
#terms {
margin-top: 10px; /* Adjusted margin for less space */
display: flex;
flex-direction: column;
gap: 15px; /* Adds space between term items */
}
.term-item {
background: white;
padding: 10px;
border-radius: 5px;
border: 1px solid #ff69b4;
flex-shrink: 0;
}
.term-item h2 {
margin: 0;
color: #ff69b4;
font-size: 1.2em; /* Slightly larger term title */
}
.term-item p {
margin: 5px 0 0; /* Adds slight space between term and description */
color: #0078D4;
font-size: 0.95em; /* Slightly larger description text */
}
/* Hide the scrollbar for a cleaner look */
.container::-webkit-scrollbar {
width: 0;
}