File tree Expand file tree Collapse file tree 2 files changed +59
-6
lines changed Expand file tree Collapse file tree 2 files changed +59
-6
lines changed Original file line number Diff line number Diff line change 1717 border-radius : 10px ;
1818}
1919
20+ : root {
21+ --c-yellow-theme : # feba07 ;
22+ --c-golden-yellow-theme : # f26b1f ;
23+ }
24+
2025body {
2126 width : 330px ;
2227}
@@ -39,8 +44,30 @@ input:focus-visible {
3944 background-color : # cecece ;
4045}
4146
42- .title {
43- text-align : center;
47+ /* header */
48+
49+ header {
50+ display : flex;
51+ justify-content : space-between;
52+ align-items : center;
53+ padding : 0 10px ;
54+ }
55+
56+ header .left {
57+ display : flex;
58+ align-items : center;
59+ }
60+
61+ header .left .logo {
62+ height : 26px ;
63+ }
64+
65+ header .left .title {
66+ margin-left : 5px ;
67+ background : linear-gradient (108deg , var (--c-yellow-theme ) 10% , var (--c-golden-yellow-theme ));;
68+ background- clip: text;
69+ - webkit- background- clip: text;
70+ color : transparent;
4471}
4572
4673/* config */
@@ -55,12 +82,12 @@ input:focus-visible {
5582 display : flex;
5683 justify-content : space-between;
5784 align-items : center;
58- height : 26 px ;
59- padding : 3 px 0 ;
85+ height : 23 px ;
86+ margin : 6 px 0 ;
6087}
6188
6289.config .writes .item span {
63- width : 55 px ;
90+ width : 50 px ;
6491 text-align : justify;
6592 text-align-last : justify;
6693}
Original file line number Diff line number Diff line change 22< link rel ="stylesheet " href ="./popup.css " />
33
44< div id ="app ">
5- < h1 class ="title "> Page AI</ h1 >
5+ < header >
6+ < div class ="left ">
7+ < img src ="../assets/logo.png " class ="logo " />
8+ < h1 class ="title "> Page AI</ h1 >
9+ </ div >
10+ < div class ="right ">
11+ < a
12+ href ="https://github.com/coder-hxl/page-ai "
13+ target ="_blank "
14+ title ="访问Github "
15+ class ="github "
16+ >
17+ < svg
18+ height ="16 "
19+ viewBox ="0 0 16 16 "
20+ version ="1.1 "
21+ width ="16 "
22+ aria-hidden ="true "
23+ >
24+ < path
25+ fill-rule ="evenodd "
26+ d ="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z "
27+ > </ path >
28+ </ svg >
29+ </ a >
30+ </ div >
31+ </ header >
632
733 < div class ="partition "> </ div >
834
You can’t perform that action at this time.
0 commit comments