File tree Expand file tree Collapse file tree 1 file changed +25
-6
lines changed Expand file tree Collapse file tree 1 file changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -808,24 +808,26 @@ $btn-primary-border: darken($btn-primary-bg, 5%) !default;
808
808
}
809
809
810
810
.navbar-nav {
811
+ align-items : center ;
812
+
811
813
@include media-breakpoint-down (md) {
812
- display : inline-block ;
814
+ align-items : flex-end ;
813
815
}
814
816
}
815
817
816
818
.nav-link {
817
819
padding : 1em !important ;
818
820
color : #2E294E ;
819
821
align-self : center ;
820
- transition : background-color 0.5s ease ;
822
+ transition : background-color 0.5s ease , font-size 0.25 s ease ;
821
823
white-space : nowrap ;
822
824
position : relative ;
823
825
824
826
& ::before ,
825
827
& ::after {
826
828
opacity : 0 ;
827
829
position : absolute ;
828
- top : 100 % ;
830
+ bottom : 0 ;
829
831
left : 0 ;
830
832
width : 100% ;
831
833
height : 4px ;
@@ -838,21 +840,30 @@ $btn-primary-border: darken($btn-primary-bg, 5%) !default;
838
840
839
841
840
842
& :hover {
841
- color : #2E294E ;
842
-
843
+ @include media-breakpoint-down (md) {
844
+ & :not (.orcid ) {
845
+ font-size : 1.25em ;
846
+ }
847
+ transition : font-size 0.25s ease ;
848
+ }
843
849
844
850
& :hover ::before ,
845
851
& :hover ::after ,
846
852
& :focus ::before ,
847
853
& :focus ::after {
848
854
opacity : 1 ;
849
855
transform : translateY (10px ) scale (1 );
856
+
857
+ @include media-breakpoint-down (md) {
858
+ opacity : 0 ;
859
+ }
850
860
}
851
861
}
852
862
853
863
@include media-breakpoint-down (md) {
854
864
font-size : 1.125em ;
855
- padding : 1em 0 !important ;
865
+ padding : 0 !important ;
866
+ height : 3rem ;
856
867
width : 100% ;
857
868
text-align : right ;
858
869
@@ -861,6 +872,14 @@ $btn-primary-border: darken($btn-primary-bg, 5%) !default;
861
872
color : #007BFF ;
862
873
}
863
874
875
+ & .orcid {
876
+ padding : 1em !important ; // bootstrap forces this important
877
+ margin-bottom : 0.5em ;
878
+ & :hover {
879
+ color : #fff ;
880
+ border-color : #1f1d1d ;
881
+ }
882
+ }
864
883
}
865
884
}
866
885
You can’t perform that action at this time.
0 commit comments