22   Page layout 
33   ========================================================================== */  
44
5+ @use  " sass:math" 
6+ 
57body  {
68	background-color $bodycolor ;
79	font-family $base-font ;
@@ -131,18 +133,18 @@ $button-size: 1.5rem;
131133@mixin  navicon-line () {
132134	display inline-block ;
133135	width $button-size ;
134- 	height $button-size / 7 ;
136+ 	height math . div ( $button-size ,  7 ) ;
135137	//  line color
136138	background $white ;
137- 	border-radius $button-size / 14 ;
139+ 	border-radius math . div ( $button-size ,  14 ) ;
138140	transition .3s  ;
139141}
140142.navicon-lines-button  {
141- 	padding $button-size / 4   $button-size / 2 ;
143+ 	padding math . div ( $button-size ,  4 )  math . div ( $button-size ,  2 ) ;
142144	transition .3s  ;
143145	cursor : pointer ;
144146	user-select none ;
145- 	border-radius $button-size / 7 ;
147+ 	border-radius math . div ( $button-size ,  7 ) ;
146148}
147149.navicon-lines-button :hover  {
148150	opacity 1 ;
@@ -152,7 +154,7 @@ $button-size: 1.5rem;
152154}
153155.navicon-lines  {
154156	margin-right 10px  ;
155- 	margin-bottom $button-size / 5 ;
157+ 	margin-bottom math . div ( $button-size ,  5 ) ;
156158	//  create middle line
157159	@include  navicon-line ;
158160	position relative ;
@@ -163,17 +165,17 @@ $button-size: 1.5rem;
163165		position absolute ;
164166		left 0 ;
165167		content : ' ' 
166- 		-webkit-transform-origin $button-size / 14  center ;
167- 		transform-origin $button-size / 14  center ;
168+ 		-webkit-transform-origin math . div ( $button-size ,  14 )  center ;
169+ 		transform-origin math . div ( $button-size ,  14 )  center ;
168170	}
169- 	& :before  { top $button-size / 4 ; }
170- 	& :after  { top - $button-size / 4 ; }
171+ 	& :before  { top math . div ( $button-size ,  4 ) ; }
172+ 	& :after  { top -   math . div ( $button-size ,  4 ) ; }
171173}
172174.navicon-lines-button :hover  {
173175	opacity 1 ;
174176	.navicon-lines  {
175- 		& :before  { top $button-size / 3.5 ; }
176- 		& :after  { top - $button-size / 3.5 ; }
177+ 		& :before  { top math . div ( $button-size ,  3.5 ) ; }
178+ 		& :after  { top -   math . div ( $button-size ,  3.5 ) ; }
177179	}
178180}
179181.navicon-lines-button.x.active  .navicon-lines  {
@@ -491,7 +493,7 @@ li.lang:hover {
491493			@include  font-rem (20 );
492494			& .link-post  {
493495				margin-bottom 0px   +  $doc-line-height ;
494- 				margin-bottom 0rem   +  ($doc-line-height   /  $doc-font-size );
496+ 				margin-bottom 0rem   +  math . div ($doc-line-height ,  $doc-font-size );
495497			}
496498		}
497499		p  {
0 commit comments