-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (101 loc) · 2.37 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
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: 90%;
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;
}
/* Subheading styling */
.subheading {
font-size: 0.9em;
text-align: center;
margin: 10px 0 20px;
color: #555;
}
.subheading a {
color: #0078D4;
text-decoration: none;
}
.subheading a:hover {
text-decoration: underline;
}
#searchBar {
width: 100%;
padding: 8px;
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 5px;
font-family: Consolas, monospace;
font-size: 10pt;
}
.job-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusted min width */
gap: 15px;
margin-top: 20px;
}
.job {
background: white;
padding: 10px;
border-radius: 5px;
border: 1px solid #ff69b4;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
text-align: center;
word-wrap: break-word; /* Ensures URLs wrap within the box */
}
.job h2 {
margin: 0;
color: #ff69b4;
font-size: 1em;
}
.job p {
margin: 5px 0;
color: #0078D4;
font-size: 0.9em;
}
/* Styling links to ensure they wrap and are visible */
.job a {
color: #0078D4;
text-decoration: none;
word-wrap: break-word;
}
.job a:hover {
text-decoration: underline;
}
/* Category Label Styles */
.category-label {
display: inline-block;
padding: 4px 8px;
border-radius: 5px;
font-size: 0.8em;
margin-top: 10px;
color: white;
}
/* Colors for each category */
.category-cybersecurity { background-color: blue; }
.category-tech { background-color: green; }
.category-defence { background-color: red; }
.category-recruiting-company { background-color: yellow; color: black; }
.category-nonprofit { background-color: purple; color: white; }
/* Remove scrollbar visibility for a cleaner look */
.container::-webkit-scrollbar {
width: 0;
}