UnfoldingCSS:StyleBox: Difference between revisions

From titipi
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 16: Line 16:
}
}


@page :right {
@page:right {


     margin-left: 40mm;
     margin-left: 40mm;
Line 45: Line 45:
}
}


@page :left {
@page:left {


     margin-left: 20mm;
     margin-left: 20mm;

Revision as of 14:49, 4 June 2024

@page:first{
   background-image: url(https://titipi.org/wiki/images/8/83/Dream.png);
   background-size: 95%;
   background-repeat: no-repeat;
   background-position: center center;
        @bottom-center{
                font-family: asulbold;
		        content: "ENTER COLLECTIVE HERE";
                font-size:12pt;
        }
}

p:nth-of-type(3n) {
  border: 2px solid orange;
  margin-left: -10px;
}

@page:right {

    margin-left: 40mm;
    margin-right: 20mm;

    @right-middle {
        content: counter(page);
        font-family: mono;
    }
    
    @left-bottom {
        content: "TITLE";
        font-family: var(--typo_two);
        margin-right: 0.6cm;
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }
    
    @right-top {
        content: "SUBTITLE";
        font-family: mono;
        margin-right: 0.8cm;
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }
    
    
}

@page:left {

    margin-left: 20mm;
    margin-right: 40mm;

    @left-middle {
        content: counter(page);
        font-family: ;
    }
    
    @right-middle {
        content: "";
        font-family: mono;
    }
    
    @left-top {
        content: "TITLE";
        font-family: mono;
        margin-right: 0.8cm;
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }
    
    @right-top {
        content: "SUBTITLE";
        font-family: mono;
        margin-right: 2.8cm;
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }
}