11html ,
22body {
3- --header-bg : linear-gradient (90deg , # 1a1331, # 4e3aa3 );
3+ --header-bg : linear-gradient (90deg , # 1a1331, var ( --hover-bg ) );
44 --accent : # 7041ff ;
55 --body-fg : # d1c4ff ;
66 --hover-bg : # 4e3aa3 ;
77 --hover-accent : # 9b7dff ;
8+ --card-border : linear-gradient (to right, # 1a1331 0% , # 4e3aa3 100% ) 1 ;
89
910 margin : 0 ;
1011 padding : 0 ;
@@ -126,8 +127,16 @@ input{
126127 color : var (--body-fg );
127128 font-size : 1.2rem ;
128129 padding : 4px ;
129- border : 0 solid # 0f0c19 ;
130- background-image : linear-gradient (# 0f0c19, # 0f0c19 );
130+ border-top-right-radius : 0 ;
131+ border-bottom-right-radius : 0 ;
132+ border-width : 5px ;
133+ border-image : var (--card-border );
134+ background-color : # 0f0c19 ;
135+ /* background-image: linear-gradient(#0f0c19, #0f0c19); */
136+ }
137+
138+ input : focus {
139+ outline-style : none;
131140}
132141
133142input ::placeholder {
@@ -138,25 +147,40 @@ input::placeholder{
138147 font-family : "Ubuntu Mono Regular" ;
139148 display : flex;
140149 flex-direction : row;
141- justify-content : space-evenly;
142- align-items : center;
143- gap : 8px ;
150+ justify-content : center;
151+ align-items : stretch;
144152 padding : 4px ;
145- background : var (--header-bg );
146- border-radius : 4px ;
147153}
148154.search-btn {
149155 cursor : pointer;
150- padding-right : 8 px ;
151- font-weight : 700 ;
156+ padding-right : 16 px ;
157+ font-weight : 400 ;
152158 font-size : 1rem ;
159+ padding-left : 24px ;
160+ background-color : var (--hover-bg );
161+ align-items : center;
162+ align-content : center;
163+ border-top-right-radius : 8px ;
164+ border-bottom-right-radius : 8px ;
153165 /* make unselectable text */
154166 -webkit-user-select : none;
155167 -moz-user-select : none;
156168 -ms-user-select : none;
157169 user-select : none;
158170}
159171
172+ .result-card {
173+ padding : 1rem ;
174+ border : double 1em transparent;
175+ border-style : solid;
176+ border-image : var (--card-border );
177+ border-style : solid;
178+ border-width : 4px ;
179+ border-radius : 1rem ;
180+ background-clip : padding-box, border-box;
181+ background-origin : border-box;
182+ }
183+
160184.hidden {
161185 display : none;
162186}
0 commit comments