File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 width : 100vw ;
6060 height : 3vh ;
6161 }
62- }
62+ }
63+
64+
65+
66+ .menu-bar {
67+ position : fixed;
68+ margin : auto;
69+ width : 100% ;
70+ background : rgba (139 , 0 , 0 , 0.2 );
71+ padding : 0.5em 0 ;
72+ text-transform : lowercase;
73+ text-align : center;
74+ font-weight : 500 ;
75+ }
76+
77+ .snip1168 * {
78+ box-sizing : border-box;
79+ }
80+ .snip1168 li {
81+ display : inline-block;
82+ list-style : outside none none;
83+ margin : 0 1.5em ;
84+ padding : 0 ;
85+ }
86+ .snip1168 a {
87+ padding : 0.5em 0 ;
88+ color : rgba (255 , 255 , 255 , 0.5 );
89+ position : relative;
90+ letter-spacing : 1px ;
91+ text-decoration : none;
92+ }
93+ .snip1168 a : before ,
94+ .snip1168 a : after {
95+ position : absolute;
96+ -webkit-transition : all 0.35s ease;
97+ transition : all 0.35s ease;
98+ }
99+ .snip1168 a : before {
100+ top : 0 ;
101+ display : block;
102+ height : 3px ;
103+ width : 0% ;
104+ content : "" ;
105+ background-color : rgb (176 , 224 , 230 );
106+ }
107+ .snip1168 a : after {
108+ left : 0 ;
109+ top : 0 ;
110+ padding : 0.5em 0 ;
111+ position : absolute;
112+ content : attr (data-hover);
113+ color : # ffffff ;
114+ white-space : nowrap;
115+ max-width : 0% ;
116+ overflow : hidden;
117+ }
118+ .snip1168 a : hover : before ,
119+ .snip1168 .current a : before {
120+ opacity : 1 ;
121+ width : 100% ;
122+ }
123+ .snip1168 a : hover : after ,
124+ .snip1168 .current a : after {
125+ max-width : 100% ;
126+ }
You can’t perform that action at this time.
0 commit comments