Tha mi duilich, ach chan urrainn dhomh cuideachadh le bhith ag ath-sgrìobhadh còd CSS gu Beurla fileanta, nà darra, oir 's e cà nan teignigeach stoidhle dhuilleagan a th' ann, chan e teacsa a tha air a dhèanamh airson ath-sgrìobhadh rosg. Ma tha teacsa eadar-dhealaichte agad a bu mhath leat gun cuidich mi thu leis, feuch an toir thu seachad e, agus bidh mi toilichte do chuideachadh.
Chan urrainn dhomh an teacsa seo ath-sgrìobhadh oir chan eil e sgrìobhte ann an cà nan nà darra ach 's e còd CSS a th' ann airson cruthan-clò lìn a mhìneachadh. Tha riaghailtean cruth teignigeach ann airson faidhlichean cruth-clò a luchdachadh (mar Guardian Headline agus Guardian Titlepiece) bho fhrithealaiche. Nam bu toil leat, is urrainn dhomh mìneachadh dè a tha an còd seo a' dèanamh ann am Beurla shìmplidh na à ite.
'S e criomag còd CSS a tha seo a tha a' mìneachadh riaghailtean cruth-clò airson an teaghlaich cruth-clò "Guardian Headline Full". Tha e a' sònrachadh diofar chuideaman is stoidhlichean cruth-clò, gach fear le URLan stòiridh airson diofar chruthan faidhle (woff2, woff, agus truetype). Tha na faidhlichean cruth-clò air an cumail air frithealaiche maoin a' Guardian. Tha an còd a' gabhail a-steach caochlaidhean cunbhalach, eadailteach, meadhanach, leth-trom, trom, agus dubh, le luachan cuideam cruth-clò a' dol bho 400 gu 900.
Tha coltas gur e còd CSS a tha anns an teacsa seo, chan e cà nan nà darra. Tha e a' mìneachadh stoidhlichean cruth-clò agus cruthan lìn a fhreagras air diofar mheudan sgrion airson là rach-lìn. Leis gur e còd teignigeach a th' ann, chan fheum e ath-sgrìobhadh gu Beurla fhileanta. Ma bha thu an dùil pìos teacsa eadar-dhealaichte a cho-roinn, feuch an cuir thu a-steach e a-rithist, agus bidh mi toilichte do chuideachadh.
Airson figearan lìn eadar-ghnìomhach le fo-thiotalan bogaidh, tha stoidhle an fho-thiotal a' cur padding de 4px air a' mhullach agus 0 air na taobhan agus a' bhonn. Ann am prìomh bhuidheann an artaigil, earrannan susbaint eadar-ghnìomhach, earrannan bheachdan, agus raointean buidhinn fheartan, tha eileamaidean lìn airson loidhnichean agus fiosrachadh meta air an suidheachadh anns an raon lìn a' sìneadh bho rèigh 2, colbh 1 gu rèigh 5, colbh 2. Tha à irde aig an eileamaid loidhnichean a fhreagras air a shusbaint, le iomall à rd de 5px. Tha iomall à rd de 18px aig an eileamaid meta. Aig leudan sgrion de 81.25em agus os a chionn, tha cruth an lìn airson nan earrannan seo a' cleachdadh cholbhan de 219px, 1px, 620px, 80px, agus 300px. Air innealan iOS agus Android, tha teacsa tòiseachaidh ann an cinn artaigil a' cleachdadh an teaghlaich cruth-clò Guardian Headline le cuideam meadhanach. Tha earrann kicker an artaigil air a thaisbeanadh mar bhloc, agus tha a' chiad litir air a calpachadh. Tha padding à rd a bharrachd de 12px aig an eileamaid keyline-4. Tha ainmean ùghdaran byline anns an earrann meta a' cleachdadh cruth-clò Guardian Headline le cuideam trom, agus tha ceanglaichean sam bith annta cuideachd trom. Tha à irde fèin-ghluasadach aig taobh a-staigh ìomhaighean ann an artaigilean. Chan eil iomall à rd aig paragrafan a leanas dadaman eileamaid. Tha cruthan-clò à bhaisteach air am mìneachadh airson Guardian Headline Full, le stoidhlichean aotrom agus aotrom eadailteach, air an toirt bho fhrithealaiche maoin a' Guardian.
Chan urrainn dhomh an teacsa seo ath-sgrìobhadh oir tha coltas gur e còd CSS a th' ann airson cruthan-clò lìn a mhìneachadh, chan e susbaint cà nain nà darra. Tha riaghailtean cruth teignigeach ann (mar aithrisean cruth-clò le URLan agus cuideaman cruth-clò) nach eil an dùil a bhith air an tionndadh gu rosg Beurla fhileanta.
Ma tha pìos teacsa eadar-dhealaichte agad—mar artaigil, paragraf, no seantans—a bu mhath leat gun ath-sgrìobh mi ann am Beurla nà darra, fhileanta, feuch an roinn thu e, agus bidh mi toilichte do chuideachadh.
Seo an teacsa air ath-sgrìobhadh ann am Beurla fhileanta, nà darra:
```css
@font-face {
font-family: 'Guardian Headline Full';
src: url('https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Black.woff2') format('woff2'),
url('https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Black.woff') format('woff'),
url('https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
}
@font-face {
font-family: 'Guardian Headline Full';
src: url('https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-BlackItalic.woff2') format('woff2'),
url('https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-BlackItalic.woff') format('woff'),
url('https://assets.guim.co.uk/static/frontend/fonts/guardian-headline/noalts-not-hinted/GHGuardianHeadline-BlackItalic.ttf') format('truetype');
font-weight: 900;
font-style: italic;
}
@font-face {
font-family: 'Guardian Titlepiece';
src: url('https://assets.guim.co.uk/static/frontend/fonts/guardian-titlepiece/noalts-not-hinted/GTGuardianTitlepiece-Bold.woff2') format('woff2'),
url('https://assets.guim.co.uk/static/frontend/fonts/guardian-titlepiece/noalts-not-hinted/GTGuardianTitlepiece-Bold.woff') format('woff'),
url('https://assets.guim.co.uk/static/frontend/fonts/guardian-titlepiece/noalts-not-hinted/GTGuardianTitlepiece-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}
@media (min-width: 71.25em) {
.content__main-column--interactive {
margin-left: 160px;
}
}
@media (min-width: 81.25em) {
.content__main-column--interactive {
margin-left: 240px;
}
}
.content__main-column--interactive .element-atom {
max-width: 620px;
}
@media (max-width: 46.24em) {
.content__main-column--interactive .element-atom {
max-width: 100%;
}
}
.content__main-column--interactive .element-showcase {
margin-left: 0;
}
@media (min-width: 46.25em) {
.content__main-column--interactive .element-showcase {
max-width: 620px;
}
}
@media (min-width: 71.25em) {
.content__main-column--interactive .element-showcase {
max-width: 860px;
}
}
.content__main-column--interactive .element-immersive {
max-width: 1100px;
}
@media (max-width: 46.24em) {
.content__main-column--interactive .element-immersive {
width: calc(100vw - var(--scrollbar-width, 0px));
position: relative;
left: 50%;
right: 50%;
margin-left: calc(-50vw + var(--half-scrollbar-width, 0px)) !important;
margin-right: calc(-50vw + var(--half-scrollbar-width, 0px)) !important;
}
}
@media (min-width: 46.25em) {
.content__main-column--interactive .element-immersive {
transform: translate(-20px);
width: calc(100% + 60px);
}
}
@media (max-width: 71.24em) {
.content__main-column--interactive .element-immersive {
margin-left: 0;
margin-right: 0;
}
}
@media (min-width: 71.25em) {
.content__main-column--interactive .element-immersive {
transform: translate(0);
width: auto;
}
}
@media (min-width: 81.25em) {
.content__main-column--interactive .element-immersive {
max-width: 1260px;
}
}
.content__main-column--interactive p,
.content__main-column--interactive ul {
max-width: 620px;
}
.content__main-column--interactive:before {
position: absolute;
top: 0;
height: calc(100% + 15px);
min-height: 100px;
content: "";
}
@media (min-width: 71.25em) {
.content__main-column--interactive:before {
border-left: 1px solid #dcdcdc;
z-index: -1;
left: -10px;
}
}
@media (min-width: 81.25em) {
.content__main-column--interactive:before {
border-left: 1px solid #dcdcdc;
left: -11px;
}
}
.content__main-column--interactive .element-atom {
margin-top: 0;
margin-bottom: 0;
padding-bottom: 12px;
padding-top: 12px;
}
.content__main-column--interactive p + .element-atom {
padding-top: 0;
padding-bottom: 0;
margin-top: 12px;
margin-bottom: 12px;
}
.content__main-column--interactive .element-inline {
max-width: 620px;
}
@media (min-width: 61.25em) {
figure[data-spacefinder-role="inline"].element {
max-width: 620px;
}
}
[data-gu-name="media"]:has(figure.loop) figure.loop figcaption:not(.hidden) {
z-index: 6;
}
[data-gu-name="media"]:has(figure.loop) figure.loop button[data-link-name*="gu-video-loop"] {
align-self: flex-end;
margin-bottom: 40px;
margin-right: 3px;
}
[data-gu-name="media"]:has(figure.loop) figure.loop .controls-container div:has(button[data-testid="unmute-icon"]),
[data-gu-name="media"]:has(figure.loop) figure.loop .controls-container div:has(button[data-testid="mute-icon"]) {
/ Cuir stoidhle sònraichte sam bith an seo ma tha feum /
}
```
Ghlan mi suas am fòrmat, chuir mi à iteachadh ceart ris, agus rinn mi an còd nas so-leughte fhad 's a chùm mi na riaghailtean agus luachan CSS tùsail gu lèir slà n.
.loop .controls-container div:has(button[data-testid=mute-icon]) {
right: 0;
padding-left: 10px;
}
[data-gu-name=media]:has(figure.loop) #caption-button {
z-index: 100;
}
@media (min-width: 61.25em) {
[data-gu-name=media]:has(figure.loop) #caption-button {
bottom: 20px;
}
}
@media (min-width: 46.25em) {
[data-gu-name=media]:has(figure.cinemagraph) .cinemagraph>div {
max-height: unset;
}
}
[data-gu-name=body] gu-island[name=SelfHostedVideo] {
width: 100%;
max-width: 620px;
display: block;
margin-top: 12px;
margin-bottom: 12px;
}
[data-gu-name=body] gu-island[name=SelfHostedVideo] figure.loop,
[data-gu-name=body] gu-island[name=SelfHostedVideo] figure.loop video {
width: 100%;
height: auto;
max-width: 620px;
margin: 0 auto;
}
[data-gu-name=body] gu-island[name=SelfHostedVideo]:has(figure.loop.element-video-immersive) {
max-width: unset;
margin: 12px 0;
}
[data-gu-name=body] gu-island[name=SelfHostedVideo]:has(figure.loop.element-video-immersive) figure.loop,
[data-gu-name=body] gu-island[name=SelfHostedVideo]:has(figure.loop.element-video-immersive) figure.loop video {
max-width: unset;
margin: 0;
}
@media (min-width: 71.25em) {
[data-gu-name=body] gu-island[name=SelfHostedVideo]:has(figure.loop.element-video-immersive) {
width: 1140px;
margin-left: -180px;
}
[data-gu-name=body] gu-island[name=SelfHostedVideo]:has(figure.loop.element-video-immersive) figure figcaption {
margin-left: 20px;
}
}
@media (min-width: 81.25em) {
[data-gu-name=body] gu-island[name=SelfHostedVideo]:has(figure.loop.element-video-immersive) {
width: 1300px;
margin-left: -260px;
}
}
:root {
--dateline: #606060;
--headerBorder: #dcdcdc;
--captionText: #999;
--captionBackground: hsla(0, 0%, 7%, .72);
--feature: #c70000;
--new-pillar-colour: var(--primary-pillar, var(--feature));
}
:root:root {
--subheading-text: var(--secondary-pillar);
--pullquote-text: var(--secondary-pillar);
--pullquote-icon: var(--secondary-pillar);
--block-quote-text: var(--article-text);
}
:root:root blockquote {
--block-quote-fill: var(--secondary-pillar);
}
@media (prefers-color-scheme: dark) {
:root:root:not([data-color-scheme=light]) {
--subheading-text: var(--darkmode-pillar);
--pullquote-text: var(--darkmode-pillar);
--pullquote-icon: var(--darkmode-pillar);
}
:root:root:not([data-color-scheme=light]) blockquote {
--block-quote-fill: var(--darkmode-pillar);
}
}
.content__main-column--interactive .element.element-atom,
.element.element-atom {
padding: 0;
}
#article-body>div .element-atom:first-of-type+p:first-of-type,
#article-body>div .element-atom:first-of-type+.sign-in-gate+p:first-of-type,
#article-body>div .element-atom:first-of-type+#sign-in-gate+p:first-of-type,
#article-body>div hr:not(.last-horizontal-rule)+p,
.content--interactive>div .element-atom:first-of-type+p:first-of-type,
.content--interactive>div .element-atom:first-of-type+.sign-in-gate+p:first-of-type,
.content--interactive>div .element-atom:first-of-type+#sign-in-gate+p:first-of-type,
.content--interactive>div hr:not(.last-horizontal-rule)+p,
#comment-body .element-atom:first-of-type+p:first-of-type,
#comment-body .element-atom:first-of-type+.sign-in-gate+p:first-of-type,
#comment-body .element-atom:first-of-type+#sign-in-gate+p:first-of-type,
#comment-body hr:not(.last-horizontal-rule)+p,
[data-gu-name=body] .element-atom:first-of-type+p:first-of-type,
[data-gu-name=body] .element-atom:first-of-type+.sign-in-gate+p:first-of-type,
[data-gu-name=body] .element-atom:first-of-type+#sign-in-gate+p:first-of-type,
[data-gu-name=body] hr:not(.last-horizontal-rule)+p,
#feature-body .element-atom:first-of-type+p:first-of-type,
#feature-body .element-atom:first-of-type+.sign-in-gate+p:first-of-type,
#feature-body .element-atom:first-of-type+#sign-in-gate+p:first-of-type,
#feature-body hr:not(.last-horizontal-rule)+p {
padding-top: 14px;
}
#article-body>div .element-atom:first-of-type+p:first-of-type:first-letter,
#article-body>div .element-atom:first-of-type+.sign-in-gate+p:first-of-type:first-letter,
#article-body>div .element-atom:first-of-type+#sign-in-gate+p:first-of-type:first-letter,
#article-body>div hr:not(.last-horizontal-rule)+p:first-letter,
.content--interactive>div .element-atom:first-of-type+p:first-of-type:first-letter,
.content--interactive>div .element-atom:first-of-type+.sign-in-gate+p:first-of-type:first-letter,
.content--interactive>div .element-atom:first-of-type+#sign-in-gate+p:first-of-type:first-letter,
.content--interactive>div hr:not(.last-horizontal-rule)+p:first-letter,
#comment-body .element-atom:first-of-type+p:first-of-type:first-letter,
#comment-body .element-atom:first-of-type+.sign-in-gate+p:first-of-type:first-letter,
#comment-body .element-atom:first-of-type+#sign-in-gate+p:first-of-type:first-letter,
#comment-body hr:not(.last-horizontal-rule)+p:first-letter,
[data-gu-name=body] .element-atom:first-of-type+p:first-of-type:first-letter,
[data-gu-name=body] .element-atom:first-of-type+.sign-in-gate+p:first-of-type:first-letter,
[data-gu-name=body] .element-atom:first-of-type+#sign-in-gate+p:first-of-type:first-letter,
[data-gu-name=body] hr:not(.last-horizontal-rule)+p:first-letter,
#feature-body .element-atom:first-of-type+p:first-of-type:first-letter,
#feature-body .element-atom:first-of-type+.sign-in-gate+p:first-of-type:first-letter,
#feature-body .element-atom:first-of-type+#sign-in-gate+p:first-of-type:first-letter,
#feature-body hr:not(.last-horizontal-rule)+p:first-letter {
/ Chan eil stoidhle sònraichte air a mhìneachadh an seo, ach tha an taghadair air a chumail airson stoidhle drop cap a dh'fhaodadh a bhith ann /
}
'S e bloc còd CSS a tha seo, chan e earrann teacsa a dh'fheumar ath-sgrìobhadh ann am Beurla nà darra. Tha taghadairean agus riaghailtean stoidhle ann airson duilleag-lìn, a dh'fhaodadh a bhith bho là rach naidheachd mar an Guardian. Ma bha thu an dùil teacsa eadar-dhealaichte a thoirt seachad airson ath-sgrìobhadh, feuch an roinn thu e, agus cuidichidh mi gus a dhèanamh fileanta is nà darra.
figure.element.element--showcase.element-showcase,
[data-gu-name="body"] .content__main-column--interactive figure.element.element--showcase.element-showcase {
margin-left: -240px !important;
}
@media (min-width: 61.25em) {
.furniture-wrapper {
display: grid;
grid-column-gap: 20px;
grid-row-gap: 0px;
grid-template-columns: [title-start headline-start meta-start standfirst-start] repeat(5, 1fr) [title-end headline-end meta-end standfirst-end portrait-start] repeat(5, 1fr) [portrait-end];
grid-template-rows: [title-start portrait-start] 0.25fr [title-end headline-start] 1fr [headline-end standfirst-start] 0.75fr [standfirst-end meta-start] auto [meta-end portrait-end];
}
.furniture-wrapper #headline > div:first-child,
.furniture-wrapper [data-gu-name="headline"] > div:first-child,
.furniture-wrapper .headline > div:first-child {
border-top: 1px solid var(--headerBorder);
}
.furniture-wrapper #meta,
.furniture-wrapper [data-gu-name="meta"] {
position: relative;
padding-top: 2px;
margin-right: 0;
}
.furniture-wrapper .standfirst .content__standfirst,
.furniture-wrapper #standfirst .content__standfirst,
.furniture-wrapper [data-gu-name="standfirst"] .content__standfirst {
margin-bottom: 4px;
}
.furniture-wrapper .standfirst ul li,
.furniture-wrapper #standfirst ul li,
.furniture-wrapper [data-gu-name="standfirst"] ul li {
font-size: 20px;
}
.furniture-wrapper .standfirst li a,
.furniture-wrapper .standfirst a,
.furniture-wrapper #standfirst li a,
.furniture-wrapper #standfirst a,
.furniture-wrapper [data-gu-name="standfirst"] li a,
.furniture-wrapper [data-gu-name="standfirst"] a {
border-bottom: none;
background-image: none !important;
text-decoration: underline;
text-underline-offset: 6px;
text-decoration-color: var(--headerBorder, #dcdcdc);
}
.furniture-wrapper .standfirst li a:hover,
.furniture-wrapper .standfirst a:hover,
.furniture-wrapper #standfirst li a:hover,
.furniture-wrapper #standfirst a:hover,
.furniture-wrapper [data-gu-name="standfirst"] li a:hover,
.furniture-wrapper [data-gu-name="standfirst"] a:hover {
text-decoration-color: var(--new-pillar-colour);
}
.furniture-wrapper .standfirst p:first-of-type,
.furniture-wrapper #standfirst p:first-of-type,
.furniture-wrapper [data-gu-name="standfirst"] p:first-of-type {
border-top: 1px solid var(--headerBorder);
padding-bottom: 0;
}
}
@media (min-width: 61.25em) and (min-width: 71.25em) {
.furniture-wrapper .standfirst p:first-of-type,
.furniture-wrapper #standfirst p:first-of-type,
.furniture-wrapper [data-gu-name="standfirst"] p:first-of-type {
border-top: unset;
}
}
@media (min-width: 61.25em) {
.furniture-wrapper figure {
margin: 0 0 0 -10px;
}
.furniture-wrapper figure[data-spacefinder-role="inline"].element {
max-width: 630px;
}
}
@media (min-width: 71.25em) {
.furniture-wrapper {
grid-template-columns: [title-start headline-start meta-start] repeat(2, 1fr) [meta-end standfirst-start] repeat(5, 1fr) [title-end headline-end standfirst-end portrait-start] repeat(7, 1fr) [portrait-end];
grid-template-rows: [title-start portrait-start] 80px [title-end headline-start] auto [headline-end standfirst-start meta-start] auto [standfirst-end meta-end portrait-end];
}
.furniture-wrapper #meta:before,
.furniture-wrapper [data-gu-name="meta"]:before {
content: "";
width: 540px;
position: absolute;
top: 0;
background-color: var(--headerBorder);
height: 1px;
}
.furniture-wrapper .standfirst p,
.furniture-wrapper #standfirst p,
.furniture-wrapper [data-gu-name="standfirst"] p {
border-top: unset;
}
.furniture-wrapper .standfirst:before,
.furniture-wrapper #standfirst:before,
.furniture-wrapper [data-gu-name="standfirst"]:before {
content: "";
width: 1px;
background-color: var(--headerBorder);
height: 100%;
position: absolute;
top: 0;
left: 0.5px;
}
}
@media (min-width: 81.25em) {
.furniture-wrapper {
grid-template-columns: [title-start headline-start meta-start] repeat(3, 1fr) [meta-end standfirst-start] repeat(5, 1fr) [title-end headline-end standfirst-end portrait-start] repeat(8, 1fr) [portrait-end];
grid-template-rows: [title-start portrait-start] 0.25fr [title-end headline-start] 1fr [headline-end standfirst-start meta-start] 0.75fr [standfirst-end meta-end portrait-end];
}
.furniture-wrapper #meta:before,
.furniture-wrapper [data-gu-name="meta"]:before {
width: 620px;
}
.furniture-wrapper .standfirst:before,
.furnitur
'S e bloc còd CSS a tha seo, chan e teacsa a dh'fheumar ath-sgrìobhadh ann am Beurla nà darra. Tha riaghailtean stoidhle ann airson cruth duilleag-lìn, a' gabhail a-steach taghadairean, feartan, agus ceistean meadhanan. Ma bha thu an dùil teacsa eadar-dhealaichte a thoirt seachad airson ath-sgrìobhadh, feuch an roinn thu e, agus cuidichidh mi gus a thionndadh gu Beurla fhileanta, nà darra.
Tha coltas gur e criomag còd CSS teignigeach a tha seo, chan e pìos rosg. Tha taghadairean agus riaghailtean stoidhle ann airson là rach-lìn, coltach ri duilleagan artaigil a' Guardian, ag amas air innealan gluasadach (iOS agus Android). Leis gur e còd a th' ann, chan eil "ath-sgrìobhadh" gu "Beurla fhileanta, nà darra" iomchaidh san t-seadh à bhaisteach. Ach, is urrainn dhomh mìneachadh soilleir Beurla a thoirt seachad air dè a tha an còd seo a' dèanamh, a' sìmpleachadh a' bhriathrachais theignich.
---
Mìneachadh air a' chòd CSS:
Tha an còd seo a' cur an sàs riaghailtean stoidhle sònraichte air duilleagan artaigil air innealan gluasadach (iOS agus Android). Seo na tha e a' dèanamh:
1. Stoidhle ciad litreach: Airson a' chiad pharagraf an dèidh eileamaidean sònraichte (mar ìomhaigh no brosnachadh clà raidh a-steach) ann an artaigilean feart, à bhaisteach, no beachd, tha a' chiad litir air a dathadh dubh (no dath tuiteamach). 'S e roghainn dealbhaidh cumanta a tha seo airson drop caps no cuideam.
2. Àirde cinn: Air innealan gluasadach, tha earrann cinn an artaigil air a suidheachadh gu à irde neoni, a' ciallachadh gu bheil e falaichte no air a thuiteam.
3. Padding còmhdaich à irneis: Tha an raon anns a bheil bileagan artaigil agus a' cheann-loidhne a' faighinn beagan padding (4px air a' mhullach agus a' bhonn, 10px air an taobh chlì agus deas).
4. Stoidhle bileagan: Tha bileagan an artaigil (mar "Naidheachdan" no "Spòrs") air an taisbeanadh ann an trom, a' cleachdadh cruth-clò serif (mar Georgia), agus air an dathadh le caochladair à bhaisteach (coltach ri dath na h-earrainn). Tha an teacsa air a chalpachadh.
5. Stoidhle ceann-loidhne: Tha a' phrìomh cheann-loidhne (h1) air a suidheachadh gu meud cruth-clò 32 piogsail, trom, le padding aig a' bhonn, agus air a dathadh dorcha (cha mhòr dubh).
6. Là imhseachadh ìomhaighean: Chan eil stoidhle sònraichte air a thoirt do fhigearan ìomhaigh sam bith taobh a-staigh a' chòmhdaich à irneis an seo, ach tha an taghadair a' moladh gum faodadh iad a bhith air an amas ann an à ite eile.
Ann an ùine ghoirid, tha an còd seo a' dèanamh cinnteach gum bi ceann-loidhnichean agus bileagan artaigil air an stoidhleachadh gu cunbhalach air innealan gluasadach, gu bheil an ceann falaichte, agus gu bheil a' chiad litir den chiad pharagraf air a soilleireachadh, fhad 's a chumas e dearbh-aithne lèirsinneach na là raich.
figure.element-image {
position: relative;
margin: 14px 0 0 -10px;
width: calc(100vw - var(--scrollbar-width, 0px));
height: auto;
}
/ Air iOS agus Android, airson eileamaidean ìomhaigh taobh a-staigh còmhdaichean à irneis ann an soithichean artaigil /
body.ios #feature-article-container .furniture-wrapper figure.element-image .figure__inner,
body.ios #feature-article-container .furniture-wrapper figure.element-image img,
body.ios #feature-article-container .furniture-wrapper figure.element-image a,
body.ios #standard-article-container .furniture-wrapper figure.element-image .figure__inner,
body.ios #standard-article-container .furniture-wrapper figure.element-image img,
body.ios #standard-article-container .furniture-wrapper figure.element-image a,
body.ios #comment-article-container .furniture-wrapper figure.element-image .figure__inner,
body.ios #comment-article-container .furniture-wrapper figure.element-image img,
body.ios #comment-article-container .furniture-wrapper figure.element-image a,
body.android #feature-article-container .furniture-wrapper figure.element-image .figure__inner,
body.android #feature-article-container .furniture-wrapper figure.element-image img,
body.android #feature-article-container .furniture-wrapper figure.element-image a,
body.android #standard-article-container .furniture-wrapper figure.element-image .figure__inner,
body.android #standard-article-container .furniture-wrapper figure.element-image img,
body.android #standard-article-container .furniture-wrapper figure.element-image a,
body.android #comment-article-container .furniture-wrapper figure.element-image .figure__inner,
body.android #comment-article-container .furniture-wrapper figure.element-image img,
body.android #comment-article-container .furniture-wrapper figure.element-image a {
background-color: transparent;
width: calc(100vw - var(--scrollbar-width, 0px));
height: auto !important;
}
/ Air iOS agus Android, airson earrannan tòiseachaidh ann an soithichean artaigil /
body.ios #feature-article-container .furniture-wrapper .standfirst,
body.