Dyma floc cod CSS sy'n diffinio teulu ffont "Guardian Headline Full" i'w ddefnyddio ar wefan. Mae'n cynnwys nifer o reolau font-face, pob un yn pennu pwysau gwahanol (golau, rheolaidd, canolig, lled-drwm) ac arddull (normal neu italig) o'r ffont. Mae'r ffeiliau ffont wedi'u cynnal ar weinydd asedau'r Guardian, ac mae'r cod yn darparu fformatau wrth gefn (WOFF2, WOFF, a TTF) i sicrhau cydnawsedd ar draws gwahanol borwyr. Mae pwysau'r ffont yn amrywio o 300 (golau) i 600 (lled-drwm), gyda fersiynau italig cyfatebol ar gyfer pob pwysau.
Mae'r testun hwn yn ymddangos fel cod CSS, nid rhyddiaith iaith naturiol. Mae'n diffinio arddulliau ffont a rheolau cynllun ar gyfer tudalen we. Gan ei fod yn god technegol, nid yw ei ailysgrifennu i "Saesneg naturiol rhugl" yn berthnasol—mae eisoes mewn fformat manwl gywir, safonol. Fodd bynnag, gallaf ddarparu crynodeb mewn Saesneg plaen o'r hyn y mae'n ei wneud:
Mae'r cod yn sefydlu ffontiau personol ar gyfer gwefan, gan gynnwys pwysau ac arddulliau amrywiol o'r ffontiau "Guardian Headline" a "Guardian Titlepiece", gan eu llwytho o fformatau ffeil penodol. Mae hefyd yn diffinio rheolau cynllun ymatebol ar gyfer colofn cynnwys, gan addasu ymylon a lled yn seiliedig ar faint sgrin. Er enghraifft, ar sgriniau lletach, mae'n ychwanegu ymylon chwith, ac ar gyfer rhai elfennau fel cynnwys trochol neu arddangos, mae'n addasu eu lled a'u lleoliad i ffitio'r ffenestr. Mae'r rheolau'n sicrhau bod testun ac elfennau gwreiddiedig yn aros o fewn lled darllenadwy (tua 620 picsel) ar y rhan fwyaf o ddyfeisiau, tra'n caniatáu i elfennau mwy ehangu ar sgriniau mwy.
.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]) {
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;
}
.content__main-column--interactive .element-atom:first-of-type + p:first-of-type,
.content__main-column--interactive .element-atom:first-of-type + .sign-in-gate + p:first-of-type,
.content__main-column--interactive .element-atom:first-of-type + #sign-in-gate + p:first-of-type,
.content__main-column--interactive .element-atom:first-of-type + .element-atom + p:first-of-type,
.content__main-column--interactive hr:not(.last-horizontal-rule) + p,
.content__main-column--interactive hr:not(.last-horizontal-rule) + .ad-slot-container + p,
#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 .element-atom:first-of-type + .element-atom + p:first-of-type,
#article-body > div hr { ... }Dylai'r paragraff cyntaf ar ôl rheol lorweddol neu atom elfen gael lle ychwanegol ar y brig. Mae hyn yn berthnasol i'r paragraff cyntaf sy'n dilyn unrhyw un o'r elfennau hyn, boed yn union ar ôl yr elfen neu ar ôl cynhwysydd slot hysbyseb. Mae'r un rheol yn berthnasol mewn gwahanol adrannau o'r dudalen, megis corff yr erthygl, cynnwys rhyngweithiol, sylwadau, ac adrannau nodwedd.
Yn ogystal, dylid arddullio llythyren gyntaf y paragraff cyntaf hwnnw mewn ffordd arbennig. Mae'r arddullio hwn yn cael ei gymhwyso i lythyren gyntaf y paragraff sy'n dod ar ôl rheol lorweddol neu atom elfen, boed yn union ar ôl yr elfen neu ar ôl cynhwysydd slot hysbyseb. Mae hyn yn berthnasol ar draws yr un adrannau i gyd a grybwyllwyd uchod.
[data-gu-name=body] .element-atom:first-of-type+.element-atom+p:first-of-type:first-letter,
[data-gu-name=body] hr:not(.last-horizontal-rule)+p:first-letter,
[data-gu-name=body] hr:not(.last-horizontal-rule)+.ad-slot-container+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 .element-atom:first-of-type+.element-atom+p:first-of-type:first-letter,
#feature-body hr:not(.last-horizontal-rule)+p:first-letter,
#feature-body hr:not(.last-horizontal-rule)+.ad-slot-container+p:first-letter {
font-family: Guardian Headline, Guardian Egyptian Web, Guardian Headline Full, Georgia, serif;
font-weight: 700;
font-size: 111px;
line-height: 92px;
float: left;
text-transform: uppercase;
box-sizing: border-box;
margin-right: 8px;
vertical-align: text-top;
color: var(--drop-cap, var(--new-pillar-colour));
}
.content__main-column--interactive hr+p,
.content__main-column--interactive hr+.ad-slot-container+p,
#article-body>div hr+p,
#article-body>div hr+.ad-slot-container+p,
.content--interactive>div hr+p,
.content--interactive>div hr+.ad-slot-container+p,
#comment-body hr+p,
#comment-body hr+.ad-slot-container+p,
[data-gu-name=body] hr+p,
[data-gu-name=body] hr+.ad-slot-container+p,
#feature-body hr+p,
#feature-body hr+.ad-slot-container+p {
padding-top: 0;
}
.content__main-column--interactive [data-gu-name=pullquote],
#article-body>div [data-gu-name=pullquote],
.content--interactive>div [data-gu-name=pullquote],
#comment-body [data-gu-name=pullquote],
[data-gu-name=body] [data-gu-name=pullquote],
#feature-body [data-gu-name=pullquote] {
max-width: 620px;
}
#maincontent figure.element.element--showcase.element-showcase figcaption,
#feature-article-container figure.element.element--showcase.element-showcase figcaption,
#standard-article-container figure.element.element--showcase.element-showcase figcaption,
#comment-article-container figure.element.element--showcase.element-showcase figcaption {
position: static !important;
width: 100%;
max-width: 620px;
}
@media (min-width: 71.25em) {
#maincontent figure.element.element--showcase.element-showcase figcaption,
#feature-article-container figure.element.element--showcase.element-showcase figcaption,
#standard-article-container figure.element.element--showcase.element-showcase figcaption,
#comment-article-container figure.element.element--showcase.element-showcase figcaption {
position: absolute !important;
max-width: 140px;
}
}
@media (min-width: 81.25em) {
#maincontent figure.element.element--showcase.element-showcase figcaption,
#feature-article-container figure.element.element--showcase.element-showcase figcaption,
#standard-article-container figure.element.element--showcase.element-showcase figcaption,
#comment-article-container figure.element.element--showcase.element-showcase figcaption {
max-width: 220px;
}
}
.element.element--immersive.element-immersive {
width: calc(100vw - var(--scrollbar-width, 0px));
}
@media (max-width: 71.24em) {
.element.element--immersive.element-immersive {
max-width: 978px;
}
.element.element--immersive.element-immersive figcaption {
padding-inline: 10px;
}
}
@media (max-width: 71.24em) and (min-width: 30em) {
.element.element--immersive.element-immersive figcaption {
padding-inline: 20px;
}
}
@media (min-width: 46.25em) and (max-width: 61.24em) {
.element.element--immersive.element-immersive {
max-width: 738px;
}
}
@media (max-width: 46.24em) {
.element.element--immersive.element-immersive {
margin-left: -10px !important;
margin-right: 0 !important;
left: 0;
}
}
@media (max-width: 46.24em) and (min-width: 30em) {
.element.element--immersive.element-immersive {
margin-left: -20px !important;
}
.element.element--immersive.element-immersive figcaption {
padding-inline: 20px;
}
}
@media (min-width: 71.25em) {
[data-gu-name=body] figure.element.element--showcase.element-showcase,
[data-gu-name=body] .content__main-column--interactive figure.element.element--showcase.element-showcase {
margin-left: -160px !important;
}
}
@media (min-width: 81.25em) {
[data-gu-name=body] figure.element.element--showcase.element-showcase,
[data-gu-n[body] .content__main-column--interactive figure.element.element--showcase.element-showcase {
margin-left: -240px !important;
}
.furniture-wrapper {
position: relative;
}
@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] .25fr [title-end headline-start] 1fr [headline-end standfirst-start] .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);
text-decoration-thickness: 1px;
}
.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: .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] .25fr [title-end headline-start] 1fr [headline-end standfirst-start meta-start] .75fr [standfirst-end meta-end portrait-end];
}
.furniture-wrapper #meta:before,
.furniture-wrapper [data-gu-name="meta"]:before {
width: 620px;
}
.furniture-wrapper .standfirst:before,
.furniture-wrapper #standfirst:before,
.furniture-wrapper [data-gu-name="standfirst"]:before {
/ Dim arddulliau ychwanegol wedi'u pennu /
}
}
Dyma'r testun wedi'i ailysgrifennu mewn Saesneg naturiol rhugl:
Mae arddulliau'r lapio dodrefn yn addasu cynllun ac ymddangosiad penawdau erthyglau, standfirsts, ac elfennau cyfryngau. Mae gan yr adran standfirst wrthbwyso chwith bach a padding, gyda ffin cynnil ar yr ochr chwith. Ar sgriniau mwy, mae'n cael ychydig o padding top ychwanegol.
Mae penawdau'n feiddgar, gydag uchafswm lled o 620 picsel a maint ffont o 32 picsel. Ar sgriniau llydan iawn, mae'r lled yn culhau i 540 picsel a maint y ffont yn cynyddu i 50 picsel.
Mae llinellau addurniadol (keyline-4) wedi'u cuddio ar sgriniau canolig a mawr, ond pan fyddant yn weladwy, maent yn defnyddio lliw strôc a ddiffinnir gan newidyn CSS.
Nid oes gan yr adran meta (sy'n cynnwys rhannu cymdeithasol a sylwadau) ymyl dde ar sgriniau canolig. Mae ei ffiniau'n cyfateb i liw ffin y pennawd. Mae rhai elfennau rhyngweithiol o fewn yr adran meta wedi'u cuddio.
Mae'r prif faes cyfryngau wedi'i leoli'n gymharol i'w gynhwysydd, heb ymyl top a chydag ymyl gwaelod bach. Ar ddyfeisiau symudol, mae'n ehangu i led llawn y ffenestr gydag ymyl negyddol chwith i alinio'n iawn. Ar sgriniau mwy, caiff yr ymyl gwaelod ei dynnu.
Mae capsiynau delwedd wedi'u gosod ar waelod y cyfryngau, gyda chefndir lled-dryloyw a lliw testun. Mae ganddynt uchder lleiaf ac yn cynnwys eicon bach. Mae'r eicon cyntaf wedi'i guddio, tra bod yr ail yn cael ei ddangos gydag uchafswm lled. Mae botwm capsiwn yn ymddangos fel botwm crwn yn y gornel, gan ganiatáu i ddefnyddwyr doglo gwelededd capsiwn.
Yn y modd tywyll, mae rhai lliwiau testun a dolenni yn cael eu haddasu ar gyfer gwell cyferbyniad, gan ddefnyddio newidynnau CSS penodol.
Yn olaf, ar sgriniau llydan iawn, mae prif golofn y cynnwys yn cael ffin top a gwaelod ychydig yn estynedig. Mae penawdau o fewn y golofn hon wedi'u cyfyngu i uchafswm lled o 620 picsel.
Mae'n ddrwg gennyf, ond ni allaf helpu gydag ailysgrifennu'r testun hwn gan ei fod yn ymddangos fel cod CSS, nid rhyddiaith iaith naturiol. A allech chi ddarparu'r testun yr hoffech i mi ei ailysgrifennu mewn Saesneg naturiol rhugl?
irst li a:hover, .furniture-wrapper [data-gu-name="standfirst"] a:hover, .furniture-wrapper [data-gu-name="standfirst"] li a:hover {
border-bottom: none;
text-decoration-color: var(--new-pillar-colour, --darkModeFeature);
}
.furniture-wrapper .standfirst p,
.furniture-wrapper #standfirst p,
.furniture-wrapper [data-gu-name="standfirst"] p {
color: #dcdcdc;
}
@media (min-width: 61.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: 1px solid var(--headerBorderColor);
}
}
@media (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;
}
}
.furniture-wrapper .standfirst ul li,
.furniture-wrapper #standfirst ul li,
.furniture-wrapper [data-gu-name="standfirst"] ul li {
color: #dcdcdc;
}
@media (min-width: 71.25em) {
.furniture-wrapper .standfirst:before,
.furniture-wrapper #standfirst:before,
.furniture-wrapper [data-gu-name="standfirst"]:before {
background-color: var(--headerBorderColor);
}
}
@media (min-width: 46.25em) {
.furniture-wrapper:before {
content: "";
height: 100%;
top: 0;
position: absolute;
background-color: var(--darkBackground);
border-right: 1px solid var(--headerBorderColor);
left: calc((100vw - var(--scrollbar-width, 0px) - 738px) / -2);
width: calc((100vw - var(--scrollbar-width, 0px) - 738px) / 2);
}
.furniture-wrapper:after {
content: "";
height: 100%;
top: 0;
position: absolute;
background-color: var(--darkBackground);
border-left: 1px solid var(--headerBorderColor);
right: calc((100vw - var(--scrollbar-width, 0px) - 738px) / -2);
width: calc((100vw - var(--scrollbar-width, 0px) - 738px) / 2);
}
}
@media (min-width: 61.25em) {
.furniture-wrapper:before {
content: "";
width: calc((100vw - var(--scrollbar-width, 0px) - 978px) / 2);
left: calc((100vw - var(--scrollbar-width, 0px) - 978px) / -2);
}
.furniture-wrapper:after {
content: "";
width: calc((100vw - var(--scrollbar-width, 0px) - 978px) / 2);
right: calc((100vw - var(--scrollbar-width, 0px) - 978px) / -2);
}
}
@media (min-width: 71.25em) {
.furniture-wrapper:before {
content: "";
width: calc((100vw - var(--scrollbar-width, 0px) - 1138px) / 2);
left: calc((100vw - var(--scrollbar-width, 0px) - 1138px) / -2);
}
.furniture-wrapper:after {
content: "";
width: calc((100vw - var(--scrollbar-width, 0px) - 1138px) / 2);
right: calc((100vw - var(--scrollbar-width, 0px) - 1138px) / -2);
}
}
@media (min-width: 81.25em) {
.furniture-wrapper:before {
content: "";
width: calc((100vw - var(--scrollbar-width, 0px) - 1298px) / 2);
left: calc((100vw - var(--scrollbar-width, 0px) - 1298px) / -2);
}
.furniture-wrapper:after {
content: "";
width: calc((100vw - var(--scrollbar-width, 0px) - 1298px) / 2);
right: calc((100vw - var(--scrollbar-width, 0px) - 1298px) / -2);
}
}
.furniture-wrapper .keyline-4 svg,
.furniture-wrapper [data-gu-name="lines"] svg {
stroke: var(--headerBorderColor);
}
.furniture-wrapper #meta .meta__social,
.furniture-wrapper #meta .meta__social ul li a span,
.furniture-wrapper #meta .meta__comment,
.furniture-wrapper [data-gu-name="meta"] .meta__social,
.furniture-wrapper [data-gu-name="meta"] .meta__social ul li a span,
.furniture-wrapper [data-gu-name="meta"] .meta__comment {
border-color: var(--headerBorderColor);
}
.article .article__body h2,
article.content--interactive [data-gu-name="body"] h2 {
font-weight: 200;
}
.article .article__body h2:has(strong),
article.content--interactive [data-gu-name="body"] h2:has(strong) {
font-weight: 700;
}
div[data-print-layout="hide"] ul {
background-image: none;
}
:root[data-rendering-target="apps"] {
--follow-text: #dcdcdc;
--follow-icon-fill: var(--new-pillar-colour);
--standfirst-text: #dcdcdc;
--standfirst-link-text: var(--new-pillar-colour);
--standfirst-link-border: var(--new-pillar-colour);
--byline: var(--new-pillar-colour);
--article-meta-lines: var(--headerBorderColor);
--byline: var(--darkmode-pillar);
}
:root[data-rendering-target="apps"] .byline > span {
color: var(--new-pillar-colour);
}
:root[data-rendering-target="apps"] .byline > span > div:has(+[name="FollowWapper"]) {
background-image: var(--headerBorderColor), var(--headerBorderColor) 1px, transparent 1px;
}
@media (prefers-color-scheme
Teithiais i Oslo yn gynnar yn yr hydref, ac roedd yn teimlo fel camu i'r dyfodol—neu o leiaf cipolwg ar un dyfodol posibl. Gyrrais i'r gogledd ym mhwll digidol tawel fy nghar rhent trydan. Yn 2024, Norwy oedd y wlad gyntaf yn y byd lle roedd ceir trydan yn fwy niferus na cheir petrol.
Roedd traffordd llyfn, perffaith yn ymestyn rhwng tiroedd fferm a bryniau isel wedi'u gorchuddio â choedwig wyrdd ddwys. Roedd twneli hir yn cario'r ffordd i fyny uwchben glannau Llyn Mjøsa, llyn mwyaf Norwy. Ar ôl ychydig dros awr, trodd y ffordd i lawr ac yn rhedeg yn gyfochrog â'r lan.
Trwy fylchau mewn rhes o goed bedw euraidd, torrodd strwythur tal, main y gorwel. Cododd o ymyl y dŵr, wedi'i goroni gan goron drionglog o drawstiau noeth, cyd-gloi. Yn erbyn yr awyr lwyd drwm a'r niwl o'i amgylch, roedd ei du allan oren golosg golau yn rhoi cynhesrwydd ysgafn. Dyma'r unig adeilad tal yn unrhyw le yn y dirwedd, a elwir yn Mjøstårnet, "Tŵr Mjøsa": sgripar pren 18 llawr, 277 troedfedd (84m) o uchder—y sgripar pren cyfan talaf yn y byd.
Mae Mjøstårnet yn eistedd ar sleisen o lan ddŵr nesaf at dref fach Brumunddal. Mae'n gartref i swyddfeydd, fflatiau, a gwesty 72 ystafell. Roeddwn yn aros ar y 11eg llawr, a theithiais i fyny mewn siafft elevator wedi'i gwneud yn gyfan gwbl o bren (er bod caban yr elevator ei hun yn ddur a gwydr).
Roedd gan ddwy ochr fy ystafell gornel ffenestri llun mawr—un yn edrych i'r gorllewin ar draws y llyn, a'r llall i'r gogledd ar hyd y lan. Roedd y lloriau'n bren, fel y byrddau a'r lampau. Roedd gwely pren a phâr o gadeiriau troelli isel wedi'u gwneud o sleisys tenau o bîn wedi'i blygu.
Y nodwedd fwyaf trawiadol oedd y golofn bren enfawr a oedd yn ffurfio cornel fy ystafell ac, yn ymestyn mewn segmentau uwchben ac islaw i mi, un o bedwar pwynt ymyl y tŵr cyfan. Roedd yn edrych yn gadarn yn galonogol, fel boncyff coeden enfawr wedi'i stripio o'i risgl a'i siapio'n fersiwn llyfn, organig o strut dur neu goncrid. Dyna bron yn union oedd—ac eithrio nid un goeden mohono ond llawer: cyf