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:13] – 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 7: | Line 11: | ||
| padding: 15px; | padding: 15px; | ||
| } | } | ||
| - | p:has(i) { | + | p:has(em) { |
| - | place-self: start; | + | margin-left:0; |
| + | margin-right: | ||
| + | background: linear-gradient(155deg, | ||
| } | } | ||
| - | p i { | + | p em { |
| font-style: normal; | font-style: normal; | ||
| + | font-family: | ||
| } | } | ||
| 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: | ||
| Line 24: | Line 33: | ||
| p strong { | p strong { | ||
| font-weight: | font-weight: | ||
| + | font-family: | ||
| } | } | ||
| %% | %% | ||