This commit is contained in:
harukin 2018-11-23 17:23:19 +09:00
parent d67455d303
commit 8012dd3914
2 changed files with 8 additions and 5 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_width) / 2); margin-left: calc(calc(50% - $converse_widthn) / 2);
margin-right: calc(calc(50% - $converse_width) / 2); margin-right: calc(calc(50% - $converse_widthn) / 2);
} }
} }
@media screen and (min-width: $converse_widths){ @media screen and (min-width: $converse_widths){
.toplevel_item{ .toplevel_item{
width: calc(50% - 16px); width: calc(50% - 16px);
margin: 8px; margin: 8px;
margin-left: calc(calc(50% - $converse_width) / 2); margin-left: calc(calc(50% - $converse_widthn) / 2);
margin-right: calc(calc(50% - $converse_width) / 2); margin-right: calc(calc(50% - $converse_widthn) / 2);
} }
} }
.toplevel_item:nth-child(2n){ .toplevel_item:nth-child(2n){

View File

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