This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| stylesheet:style_the_computer_store [2025/01/23 11:19] – vinciane | stylesheet:style_the_computer_store [2025/01/25 15:16] (current) – clara | ||
|---|---|---|---|
| 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, | background: linear-gradient(155deg, | ||
| Line 8: | Line 12: | ||
| } | } | ||
| p:has(em) { | p:has(em) { | ||
| - | place-self: start; | + | margin-left:0; |
| + | margin-right: | ||
| background: linear-gradient(155deg, | background: linear-gradient(155deg, | ||
| } | } | ||
| Line 16: | Line 21: | ||
| } | } | ||
| p { | p { | ||
| - | place-self: end; | + | margin-right:0; |
| + | margin-left: | ||
| } | } | ||
| p: | p: | ||
| - | place-self: center !important; | + | margin-left: auto; |
| + | margin-right: | ||
| background: linear-gradient(155deg, | background: linear-gradient(155deg, | ||
| border-radius: | border-radius: | ||