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 1717 </ div >
1818</ footer >
1919< 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 33< title > {% if page.title %}{{ page.title }} | hyper{% else %}{{ site.title }}{% endif %}</ title >
44< meta name ="description " content ="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %} ">
55
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 ">
77< link rel ="stylesheet " href ="{{ "/css/main.css" | absolute_url }}">
88
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 ">
1010<!--[if lt IE 9]>
1111<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
1212<![endif]-->
Original file line number Diff line number Diff line change 11< header class ="navbar navbar-expand-lg navbar-hyper " role ="navigation ">
22 < 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 >
46 < button class ="navbar-toggler " type ="button " data-bs-toggle ="collapse " data-bs-target ="#hyperNavbar ">
57 < span class ="navbar-toggler-icon "> </ span >
68 </ button >
Original file line number Diff line number Diff line change @@ -69,11 +69,11 @@ blockquote {
6969 background-color : $primary-pagehead-color ;
7070 border : 0 ;
7171 margin : 0 ;
72- padding : 0 ;
72+ padding : 0.5 rem 0 ;
7373}
7474
7575#hyper .navbar a {
76- color : #f5f5f5 ;
76+ color : rgba ( 255 , 255 , 255 , 0.85 ) ;
7777 display : flex ;
7878 flex-direction : column ;
7979 justify-content : center ;
@@ -398,8 +398,17 @@ pre code {
398398 text-decoration : none ;
399399}
400400
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+
401410.navbar .navbar-brand :hover {
402- color : $primary-highlight-color
411+ transform : rotate ( -5 deg ) scale ( 1.1 );
403412}
404413
405414.footnotes {
@@ -414,5 +423,5 @@ pre code {
414423}
415424
416425.hyper-middle {
417- margin-top : 1 rem ;
426+ margin-top : 2 rem ;
418427}
You can’t perform that action at this time.
0 commit comments