File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -245,51 +245,27 @@ const domain = Astro.url.host
245245</script >}
246246
247247<style >
248- .search-container {
249- margin: 2rem 0;
250- }
251-
252- .command-prompt {
253- display: flex;
254- align-items: center;
255- gap: 0.5rem;
256- }
257-
258- .search-input {
259- background: transparent;
260- border: none;
261- color: var(--text-color);
262- font-family: var(--font-mono);
263- font-size: 1rem;
264- padding: 0.5rem;
265- outline: none;
266- }
267-
268- .search-results {
269- margin-top: 1rem;
270- margin-left: 1rem;
271- }
272-
273- .search-result {
274- margin: 0.5rem 0;
275- }
248+ .search-container {
249+ margin: 2rem 0;
250+ }
276251
277- .search-result a {
278- display: flex;
279- justify-content: space-between;
280- align-items: center;
281- padding: 0.5rem;
282- text-decoration: none;
283- color: var(--text-color);
284- border-radius: 4px;
285- }
252+ .command-prompt {
253+ display: flex;
254+ align-items: center;
255+ gap: 0.5rem;
256+ }
286257
287- .search-result a:hover {
288- background: var(--border-color);
289- }
258+ .search-input {
259+ background: transparent;
260+ border: none;
261+ color: var(--text-color);
262+ font-size: 1rem;
263+ padding: 0.5rem;
264+ outline: none;
265+ }
290266
291- .result-date {
292- color: var(--terminal-yellow) ;
293- font-size: 0.9rem ;
294- }
267+ .search-results {
268+ margin-top: 1rem ;
269+ margin-left: 1rem ;
270+ }
295271</style >
Original file line number Diff line number Diff line change 1- @import url(@fontsource-variable / jetbrains-mono);
1+ @import url(@fontsource-variable / jetbrains-mono/index.css );
22/* Global Styles for Terminal Blog */
33: root {
44 /* Dark theme (default) */
@@ -96,6 +96,25 @@ body {
9696 display : inline-block;
9797}
9898
99+ .search-container {
100+ .search-result {
101+ margin : 0.5rem 0 ;
102+ }
103+
104+ .search-result a {
105+ color : var (--accent-color );
106+ }
107+
108+ .search-result a : hover {
109+ text-decoration : underline;
110+ }
111+
112+ .result-date {
113+ color : var (--secondary-text-color );
114+ font-size : 0.75rem ;
115+ }
116+ }
117+
99118.content-box {
100119 border : 1px solid var (--accent-color );
101120 padding : 2rem ;
You can’t perform that action at this time.
0 commit comments