1/**
2 * Sphinx Search Full Stylesheet
3 * Integration: Was / WasDark Theme
4 */
5
6/* Main Container */
7div.dokuwiki .sphinx_search_container {
8    width: 100%;
9    clear: both;
10}
11
12/* Sidebar: Matching Pagenames */
13div.dokuwiki .search_sidebar {
14    border: 1px solid #000;
15    background: rgba(255, 255, 255, 0.07);
16    padding: 15px;
17    margin-bottom: 30px;
18}
19
20div.dokuwiki .search_sidebar h2 {
21    font-family: Zapfino, "Apple Chancery", cursive;
22    font-weight: normal !important;
23    border: 0 !important;
24    margin-top: 0 !important;
25    font-size: 1.5em;
26}
27
28div.dokuwiki .search_sidebar ul {
29    margin: 0;
30    padding: 0 0 0 20px;
31}
32
33div.dokuwiki .search_sidebar ul li {
34    list-style-image: url(images/toc-bullet.png);
35    line-height: 1.4;
36    font-family: Nautical, serif;
37    margin-bottom: 5px;
38}
39
40div.dokuwiki .search_sidebar ul li a {
41    text-decoration: none;
42    color: #43b1ff;
43    font-size: 0.9em;
44    text-transform: uppercase;
45}
46
47/* Individual Result Row Box */
48div.dokuwiki .search_result_row {
49    margin-bottom: 25px;
50    border: 1px solid #fdbd12;
51    padding: 26pt;
52    background: rgba(255, 255, 255, 0.07);
53    transition: background 0.3s ease;
54}
55
56div.dokuwiki .search_result_row:hover {
57    background: rgba(255, 255, 255, 0.1);
58}
59
60/* Result Titles */
61div.dokuwiki .search_result_row a.title {
62    font-family: Zapfino, "Apple Chancery", cursive;
63    font-weight: normal !important;
64    font-size: 1.6em;
65    text-decoration: none;
66    color: #43b1ff;
67    display: block;
68    margin-bottom: 10px;
69}
70
71/* Metadata / Breadcrumbs (Footer of the result box) */
72div.dokuwiki .search_nmsp {
73    font-size: 11px;
74    display: block;
75    margin-top: 15px;
76    font-family: Program, "Courier New", monospace;
77}
78
79div.dokuwiki .search_nmsp a {
80    color: #43b1ff;
81    text-decoration: none;
82}
83
84/* Highlighting Search Terms */
85div.dokuwiki .search_snippet strong {
86    color: #fff;
87    background: #7d80bd;
88    padding: 0 2px;
89    font-weight: bold;
90}
91
92/**
93 * MIRROR-TAG SNIPPET STYLING
94 * Handles <p>, <pre>, <code>, and .file tags extracted from original content
95 */
96div.dokuwiki .search_snippet p,
97div.dokuwiki .search_snippet pre,
98div.dokuwiki .search_snippet code,
99div.dokuwiki .search_snippet .file {
100    white-space: pre-wrap;       /* Vital: Renders \n as actual line breaks */
101    display: block;
102    margin: 10px 0;
103    font-family: Program, serif;
104    line-height: 1.6;
105    word-break: break-all;
106}
107
108/* Specific styling for Mirror-Tags that are preformatted */
109div.dokuwiki .search_snippet pre,
110div.dokuwiki .search_snippet code {
111    padding: 15px;
112    background-image: url(images/whitestatic.gif);
113    border: 1px solid #fdbd12;
114}
115
116/* Media handling inside snippets (images/movies) */
117div.dokuwiki .search_snippet img {
118    max-width: 250px;
119    height: auto;
120    border: 1px solid #fdbd12;
121    margin: 10px 0;
122}
123
124div.dokuwiki .search_snippet iframe,
125div.dokuwiki .search_snippet video {
126    max-width: 100%;
127    border: 1px solid #fdbd12;
128    margin: 10px 0;
129}
130
131/**
132 * EQUIDISTANT BOXED PAGINATION
133 */
134div.dokuwiki .sphinxsearch_pagination {
135    clear: both;
136    display: flex;
137    flex-wrap: wrap;
138    justify-content: center;
139    align-items: center;
140    padding: 40px 0;
141    width: 100%;
142}
143
144/* Common Box Style */
145div.dokuwiki .sphinxsearch_pagination a.page_box {
146    display: inline-block;
147    margin: 5px;
148    padding: 10px 18px;
149    min-width: 45px;
150    text-align: center;
151    text-decoration: none;
152    font-family: Program, serif;
153    font-size: 14px;
154    border: 1px solid #7d80bd;
155    background: rgba(255, 255, 255, 0.07);
156    color: #7d80bd;
157    transition: all 0.2s ease;
158}
159
160div.dokuwiki .sphinxsearch_pagination a.page_box:hover {
161    background: rgba(125, 128, 189, 0.2);
162    color: #000;
163    box-shadow: 0 0 8px rgba(253, 189, 18, 0.2);
164}
165
166div.dokuwiki .sphinxsearch_pagination a.page_box.active {
167    background: #7d80bd;
168    color: #fff;
169    font-weight: bold;
170    pointer-events: none;
171}
172
173/* Prev/Next Navigation Boxes */
174div.dokuwiki .sphinxsearch_pagination a.page_box.prev,
175div.dokuwiki .sphinxsearch_pagination a.page_box.next {
176    font-weight: bold;
177    padding: 10px 25px;
178    background: rgba(255, 255, 255, 0.12);
179}
180
181/* Utility */
182div.dokuwiki .sphinx_hide {
183    display: none;
184}
185