This commit is contained in:
harukin 2018-11-23 17:41:49 +09:00
parent 3410f0327a
commit 1e92b97cc2
2 changed files with 9 additions and 9 deletions

View File

@ -2101,16 +2101,16 @@ a[title*="pawoo.net"]::after{
.toplevel_item{ .toplevel_item{
width: calc(50% - 16px); width: calc(50% - 16px);
margin: 8px; margin: 8px;
margin-left: calc(calc(50% - $converse_widthn) / 2); margin-left: calc(calc(50% - $converse_widts) / 2);
margin-right: calc(calc(50% - $converse_widthn) / 2); margin-right: calc(calc(50% - $converse_widts) / 2);
} }
} }
@media screen and (min-width: $converse_widths){ @media screen and (min-width: $converse_widtd){
.toplevel_item{ .toplevel_item{
width: calc(50% - 16px); width: calc(50% - 16px);
margin: 8px; margin: 8px;
margin-left: calc(calc(50% - $converse_widthn) / 2); margin-left: calc(calc(50% - $converse_widts) / 2);
margin-right: calc(calc(50% - $converse_widthn) / 2); margin-right: calc(calc(50% - $converse_widts) / 2);
} }
} }
.toplevel_item:nth-child(2n){ .toplevel_item:nth-child(2n){

View File

@ -103,11 +103,11 @@ if (! $shadow)
$shadow = '0'; $shadow = '0';
if (! $converse_width) if (! $converse_width)
$converse_width = ''; $converse_width = '';
if (! $converse_widths){ if (! $converse_widtd){
$hoge = intval($converse_width); $hoge = intval($converse_width);
$converse_widths = ($hoge * 2); $converse_widtd = ($hoge * 2);
$converse_widths .= "px"; $converse_widtd .= "px";
$converse_widthn = "$converse_width" . "px"; $converse_widts = "$converse_width" . "px";
} }
if(! $top_photo) if(! $top_photo)
$top_photo = '3rem'; $top_photo = '3rem';