File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
packages/starlight-theme-mtasa Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @multitheftauto/starlight-theme-mtasa" ,
3
- "version" : " 1.2 .0" ,
3
+ "version" : " 1.3 .0" ,
4
4
"description" : " Starlight theme for Multi Theft Auto" ,
5
5
"type" : " module" ,
6
6
"repository" : {
Original file line number Diff line number Diff line change 37
37
height : var (--sl-nav-height-original );
38
38
}
39
39
40
+ /* Overwrite the template for the grid of the header, so we can move the search to the actual center. */
41
+ .page > .header > .header {
42
+ grid-template-columns : auto 1fr auto;
43
+ }
44
+
45
+ /* Center the search control in the header. */
46
+ .page > .header > .header div : has (site-search ) {
47
+ justify-content : center;
48
+ }
49
+
40
50
/* Fix the height of the logo that depends on the original height of the header. */
41
51
.page > .header > .header .site-title img {
42
52
height : calc (var (--sl-nav-height-original ) - 2 * var (--sl-nav-pad-y ));
You can’t perform that action at this time.
0 commit comments