-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
68 lines (59 loc) · 1.35 KB
/
Copy pathstyle.css
File metadata and controls
68 lines (59 loc) · 1.35 KB
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
CSS
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
}
#filter-section {
margin-bottom: 15px;
}
form {
margin-bottom: 20px;
}
label {
font-weight: bold;
margin-top: 10px;
}
textarea, input[type="text"] {
width: 80%;
padding: 5px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
/* Tooltip styling */
.tooltip {
position: absolute;
background-color: #333;
color: #fff;
padding: 8px 12px;
border-radius: 8px;
font-size: 14px;
display: none; /* Initially hidden */
z-index: 1000;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
pointer-events: none; /* Prevent tooltip from interfering with hover events */
white-space: nowrap; /* Keep tooltip text on one line */
}
/* Flexbox to display sentences inline without spaces */
.container {
display: flex;
flex-wrap: wrap; /* Allows sentences to wrap on smaller screens */
}
/* Style for each sentence block */
span.sentence {
display: inline; /* Ensure sentences are inline */
background-color: lightblue;
padding: 5px;
margin: 0 5px 5px 0; /* Ensure no space between spans */
cursor: pointer;
font-size: 14px;
}