0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-06 14:22:52 +00:00

Merge pull request #1678 from naturalcrit/changeMinWidthToWidth

Change .block min-width to width
This commit is contained in:
Trevor Buckner
2021-09-13 22:43:19 -04:00
committed by GitHub
2 changed files with 23 additions and 18 deletions

View File

@@ -124,7 +124,7 @@ module.exports = [
gen : dedent` gen : dedent`
![cat warrior](https://s-media-cache-ak0.pinimg.com/736x/4a/81/79/4a8179462cfdf39054a418efd4cb743e.jpg) {width:325px,mix-blend-mode:multiply} ![cat warrior](https://s-media-cache-ak0.pinimg.com/736x/4a/81/79/4a8179462cfdf39054a418efd4cb743e.jpg) {width:325px,mix-blend-mode:multiply}
{{artist,position:relative,top:-230px,left:-100px,margin-bottom:-30px {{artist,position:relative,top:-230px,left:10px,margin-bottom:-30px
##### Cat Warrior ##### Cat Warrior
[Kyoung Hwan Kim](https://www.artstation.com/tahra) [Kyoung Hwan Kim](https://www.artstation.com/tahra)
}}` }}`
@@ -135,7 +135,7 @@ module.exports = [
gen : dedent` gen : dedent`
![homebrew mug](http://i.imgur.com/hMna6G0.png) {position:absolute,top:50px,right:30px,width:280px} ![homebrew mug](http://i.imgur.com/hMna6G0.png) {position:absolute,top:50px,right:30px,width:280px}
{{artist,top:90px,right:30px {{artist,top:80px,right:30px
##### Homebrew Mug ##### Homebrew Mug
[naturalcrit](https://homebrew.naturalcrit.com) [naturalcrit](https://homebrew.naturalcrit.com)
}}` }}`

View File

@@ -285,6 +285,7 @@ body {
/* Arist Credit */ /* Arist Credit */
.artist { .artist {
position : absolute; position : absolute;
width : auto;
text-align : center; text-align : center;
font-family : WalterTurncoat; font-family : WalterTurncoat;
font-size : 0.27cm; font-size : 0.27cm;
@@ -309,21 +310,21 @@ body {
/* Watermark */ /* Watermark */
.watermark { .watermark {
display : grid !important; display : grid !important;
place-items : center; place-items : center;
justify-content : center; justify-content : center;
position : absolute; position : absolute;
top : 0; top : 0;
left : 0; left : 0;
width : 100%; width : 100%;
height : 100%; height : 100%;
font-size : 120px; font-size : 120px;
text-transform : uppercase; text-transform : uppercase;
color : black; color : black;
mix-blend-mode : overlay; mix-blend-mode : overlay;
opacity : 30%; opacity : 30%;
transform : rotate(-45deg); transform : rotate(-45deg);
z-index : 500; z-index : 500;
p { p {
margin-bottom : none; margin-bottom : none;
} }
@@ -375,8 +376,9 @@ body {
background-attachment : fixed; background-attachment : fixed;
filter : drop-shadow(1px 4px 6px #888); filter : drop-shadow(1px 4px 6px #888);
padding : 4px 2px; padding : 4px 2px;
margin-left : -6px; margin-left : -0.16cm;
margin-right : -6px; margin-right : -0.16cm;
width : calc(100% + 0.32cm);
} }
position : relative; position : relative;
@@ -609,6 +611,7 @@ body {
margin-bottom : 1.05cm; margin-bottom : 1.05cm;
margin-left : -0.1cm; margin-left : -0.1cm;
margin-right : -0.1cm; margin-right : -0.1cm;
width : calc(100% + 0.2cm);
border-collapse : separate; border-collapse : separate;
background-color : white; background-color : white;
border : initial; border : initial;
@@ -724,7 +727,9 @@ body {
.block { .block {
break-inside : avoid; break-inside : avoid;
display : inline-block; display : inline-block;
min-width : 100%; .page :where(&) {
width : 100%;
}
//-webkit-transform : translateZ(0); //Prevents shadows from breaking across columns //-webkit-transform : translateZ(0); //Prevents shadows from breaking across columns
} }
.inline-block { .inline-block {