Differences
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:17] – vinciane | stylesheet: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, | 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, | ||
} | } | ||
p em { | 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 25: | Line 33: | ||
p strong { | p strong { | ||
font-weight: | font-weight: | ||
+ | font-family: | ||
} | } | ||
%% | %% |