File tree Expand file tree Collapse file tree 2 files changed +19
-13
lines changed Expand file tree Collapse file tree 2 files changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -75,8 +75,9 @@ noscript {
75
75
composes : width-limit;
76
76
77
77
display : grid;
78
- grid-template-columns : auto auto 1fr auto;
78
+ grid-template-columns : auto 1fr auto;
79
79
align-items : center;
80
+ padding : 10px ;
80
81
color : white;
81
82
82
83
a {
@@ -85,9 +86,19 @@ noscript {
85
86
}
86
87
}
87
88
88
- .subtitle {
89
- display : block;
90
- font-size : x-small;
89
+ .index-link {
90
+ display : flex;
91
+ align-items : center;
92
+
93
+ h1 {
94
+ font-size : 24px ;
95
+ }
96
+ }
97
+
98
+ .logo {
99
+ width : 60px ;
100
+ height : auto;
101
+ margin-right : 10px ;
91
102
}
92
103
93
104
.desktop-search-form {
@@ -119,7 +130,7 @@ input.search {
119
130
.mobile-search {
120
131
display : none;
121
132
grid-row : 2 ;
122
- grid-column : span 4 ;
133
+ grid-column : span 3 ;
123
134
margin : 0 10px 10px ;
124
135
125
136
input .search {
Original file line number Diff line number Diff line change 3
3
{{ title " crates.io: Rust Package Registry" separator =' - ' prepend =true }}
4
4
5
5
<header local-class =" header" >
6
- <LinkTo @route =" index" @tabindex =" -1" >
7
- <img src =" /assets/Cargo-Logo-Small.png" height =" 100" width =" 100" alt =" Cargo Logo" >
8
- </LinkTo >
9
- <LinkTo @route =" index" >
10
- <h1 >
11
- crates.io
12
- <span local-class =" subtitle" >Rust Package Registry</span >
13
- </h1 >
6
+ <LinkTo @route =" index" local-class =" index-link" >
7
+ <img src =" /assets/Cargo-Logo-Small.png" role =" presentation" alt =" " local-class =" logo" >
8
+ <h1 >crates.io</h1 >
14
9
</LinkTo >
15
10
16
11
<form local-class =" desktop-search-form" action =' /search' {{ action " search" on =" submit" }} data-test-search-form>
You can’t perform that action at this time.
0 commit comments