File tree Expand file tree Collapse file tree 4 files changed +19
-10
lines changed Expand file tree Collapse file tree 4 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 17
17
</ div >
18
18
</ footer >
19
19
< script src ="{{ "/js/rustdoc.js" | absolute_url }}"> </ script >
20
- < script src ="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.min.js "
21
- integrity ="sha384-cuYeSxntonz0PPNlHhBs68uyIAVpIIOZZ5JqeqvYYIcEL727kskC66kF92t6Xl2V "
22
- crossorigin ="anonymous "> </ script >
20
+ < script src ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js " integrity ="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz " crossorigin ="anonymous "> </ script >
Original file line number Diff line number Diff line change 3
3
< title > {% if page.title %}{{ page.title }} | hyper{% else %}{{ site.title }}{% endif %}</ title >
4
4
< meta name ="description " content ="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %} ">
5
5
6
- < link href ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1 /dist/css/bootstrap.min.css " rel ="stylesheet " integrity ="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9 " crossorigin ="anonymous ">
6
+ < link href ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3 /dist/css/bootstrap.min.css " rel ="stylesheet " integrity ="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH " crossorigin ="anonymous ">
7
7
< link rel ="stylesheet " href ="{{ "/css/main.css" | absolute_url }}">
8
8
9
- < meta name ="viewport " content ="width=device-width, initial-scale=1, user-scalable=no ">
9
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
10
10
<!--[if lt IE 9]>
11
11
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
12
12
<![endif]-->
Original file line number Diff line number Diff line change 1
1
< header class ="navbar navbar-expand-lg navbar-hyper " role ="navigation ">
2
2
< nav class ="container ">
3
- < a class ="navbar-brand " href ="/ "> hyper.rs</ a >
3
+ < a class ="navbar-brand " href ="/ " title ="hyper.rs ">
4
+ < img src ="/icons/hyper.svg " alt ="hyper.rs " class ="hyper-logo " />
5
+ </ a >
4
6
< button class ="navbar-toggler " type ="button " data-bs-toggle ="collapse " data-bs-target ="#hyperNavbar ">
5
7
< span class ="navbar-toggler-icon "> </ span >
6
8
</ button >
Original file line number Diff line number Diff line change @@ -69,11 +69,11 @@ blockquote {
69
69
background-color : $primary-pagehead-color ;
70
70
border : 0 ;
71
71
margin : 0 ;
72
- padding : 0 ;
72
+ padding : 0.5 rem 0 ;
73
73
}
74
74
75
75
#hyper .navbar a {
76
- color : #f5f5f5 ;
76
+ color : rgba ( 255 , 255 , 255 , 0.85 ) ;
77
77
display : flex ;
78
78
flex-direction : column ;
79
79
justify-content : center ;
@@ -398,8 +398,17 @@ pre code {
398
398
text-decoration : none ;
399
399
}
400
400
401
+ .navbar .hyper-logo {
402
+ background : #fff ;
403
+ border-radius : 10px ;
404
+ }
405
+
406
+ .navbar .navbar-brand {
407
+ transition : transform 0.2s ease-in-out ;
408
+ }
409
+
401
410
.navbar .navbar-brand :hover {
402
- color : $primary-highlight-color
411
+ transform : rotate ( -5 deg ) scale ( 1.1 );
403
412
}
404
413
405
414
.footnotes {
@@ -414,5 +423,5 @@ pre code {
414
423
}
415
424
416
425
.hyper-middle {
417
- margin-top : 1 rem ;
426
+ margin-top : 2 rem ;
418
427
}
You can’t perform that action at this time.
0 commit comments