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 10:53] 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 7: Line 11:
 padding: 15px; padding: 15px;
 } }
-p:nth-child(odd) { +p:has(em) { 
-place-selfstart;+margin-left:0; 
 +margin-right:auto; 
 +background: linear-gradient(155deg, red, pink) border-box !important;
 } }
-p:nth-child(even) +em { 
-place-selfend+  font-stylenormal; 
-text-alignright;+font-family: serif; 
 +
 +
 +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;
Line 22: Line 33:
 p strong { p strong {
     font-weight: normal;     font-weight: normal;
 +    font-family: monospace;
     }     }
 %% %%
stylesheet/style_the_computer_store.1737629592.txt.gz · Last modified: 2025/01/25 16:56 (external edit)