Post-Platform Digital Publishing Toolkit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
stylesheet:style_the_computer_store [2025/01/23 11:19] vincianestylesheet:style_the_computer_store [2025/01/25 16:56] (current) – external edit 127.0.0.1
Line 1: Line 1:
 %% %%
 +
 +/* this styling works when wanting to center bold text, italic text will be on the left of the discussion, and normal p paragraph will appear on the right */
 +
 +
 p { p {
 background: linear-gradient(155deg, pink, red) border-box; background: linear-gradient(155deg, pink, red) border-box;
Line 8: Line 12:
 } }
 p:has(em) { p:has(em) {
-place-selfstart;+margin-left:0; 
 +margin-right:auto;
 background: linear-gradient(155deg, red, pink) border-box !important; background: linear-gradient(155deg, red, pink) border-box !important;
 } }
Line 16: Line 21:
 } }
 p { p {
-place-selfend;+margin-right:0; 
 +margin-left:auto;
 } }
 p:has(strong) { p:has(strong) {
-place-selfcenter !important;+margin-leftauto; 
 +margin-right: auto;
 background: linear-gradient(155deg, yellow, limegreen) border-box; background: linear-gradient(155deg, yellow, limegreen) border-box;
 border-radius: 0; border-radius: 0;
stylesheet/style_the_computer_store.1737631155.txt.gz · Last modified: 2025/01/25 16:56 (external edit)