Feel free to use the Frio Theme Template.
They are based on the style templates from @Kristi H.
Since the original is still WIP in various places, I have completed them further in this version.
like this
Feel free to use the Frio Theme Template.
They are based on the style templates from @Kristi H.
Since the original is still WIP in various places, I have completed them further in this version.
like this
Kristi H.
in reply to Matthias • •Friendica Admins reshared this.
Matthias
in reply to Kristi H. • • •@Kristi H.
Ich versuche gerade eingebettete Videos in das richtige Maß zu bringen
Das hier funktioniert nicht. Vielleicht hast du eine Idee?
Kristi H.
in reply to Matthias • •Problems are you can't know aspect ratio of embedded video because it exists inside the iframe. You only have control of size/aspect of iframe "window" through which it shows. If what's inside is coded to be responsive it will adjust itself to fit the iframe, you have no control over that. You can't "reach inside" a cross-origin iframe to style anything with CSS, not even with JS.
Also, the iframe seems to have no classname saying it is "video" or "youtube" or "custom-iframe" so it looks like only iframe HTML tag can be targeted with CSS, but will apply style to ALL iframes regardless of what content is inside of them.
You can at least center the "window" as a block and you don't need to use specific pixel sizes for its aspect ratio:
... show moreProblems are you can't know aspect ratio of embedded video because it exists inside the iframe. You only have control of size/aspect of iframe "window" through which it shows. If what's inside is coded to be responsive it will adjust itself to fit the iframe, you have no control over that. You can't "reach inside" a cross-origin iframe to style anything with CSS, not even with JS.
Also, the iframe seems to have no classname saying it is "video" or "youtube" or "custom-iframe" so it looks like only iframe HTML tag can be targeted with CSS, but will apply style to ALL iframes regardless of what content is inside of them.
You can at least center the "window" as a block and you don't need to use specific pixel sizes for its aspect ratio:
If the content embedded in the iframe is responsive and a different aspect radio it will add pillarbox/letterbox or be cropped or scaled, depending on how the owner of the content site coded it. If it's not responsive it might simply not fit inside the "window" you gave it, in which case the iframe will have scrollbars. An iframe is a "hole" in your web page to another web page, there's nothing you can do with it when it's from another origin.
Friendica Admins reshared this.
Matthias
in reply to Kristi H. • • •wow
Unity :Friendica: ⁂
in reply to Matthias • • •Darf ich fragen, wodurch sich die beiden unterschiedlichen Versionen von euch zwei unterscheiden? Oder ist es egal wen bzw. was ich als Quelle nutze?
Matthias
in reply to Unity :Friendica: ⁂ • — (52.264596458319005 10.516965523208693) • •@Unity :Friendica: ⁂ @Kristi H.
Ich habe die Vorlage von Krisi gesehen und war gleich Feuer und Flamme. Als Stylus Vorlage hätte sie aber keine Verbreitung gefunden. Daher habe ich daraus eine Vorlage gemacht, die auf Servern eingesetzt werden kann
Kristi hat sich auf die Network und Profilseite konzentriert.
Die weiteren Seiten waren bis dahin noch nicht angepasst. Das habe ich für die loma.ml Vorlage komplettiert, damit sie auf dem Server eingesetzt werden kann. Darüber hinaus wurden einige Farbverläufe in Kommentaren und geteilten Beiträgen entfernt, die ich persönlich als störend empfinde. Der Rest sind kleine Details.
Matthias
in reply to Unity :Friendica: ⁂ • • •@Unity :Friendica: ⁂
Du kannst diese beiden Profile zum Vergleich nebeneinander stellen, dann sollte der Unterschied recht schnell sichtbar werden.
Unity :Friendica: ⁂
in reply to Matthias • • •Danke für die Erklärung und eure super Arbeit! 👍
Matthias
in reply to Unity :Friendica: ⁂ • • •Die Idee und die geniale Umsetzung hat Kristi gemacht. Sie ist der Profi. Ich habe nur gefuscht (aber es läuft 😶🌫️)
Markku Raitisoja [Friendica]
in reply to Matthias • • •Matthias
Unknown parent • • •Tuxi ⁂
Unknown parent • • •See anonsys.net/display/bf69967c-1… 😉
Hiker
in reply to Matthias • • •Anomaly
in reply to Matthias • • •@Matthias @Kristi H.
it doesn't work for me , I copied the 2 files of the dark version in the folder
/friendica/view/theme/frio/scheme/
, to be sure of the permissionssudo chown -R www-data:www-data /var/www/friendica
I apply the customisation
I don't understand where the mistake could be
cheers 😔
Matthias
in reply to Anomaly • • •@Anomaly
Have you saved the PHP and CSS file under Schema?
@Kristi H.
Anomaly
in reply to Matthias • • •@Matthias @Kristi H.
Yes ,
I downloaded the two files with wget
sudo wget
github.com/loma-one/friendica_…sudo wget
github.com/loma-one/friendica_…and
sudo chown -R www-data:www-data /var/www/friendica
Matthias
in reply to Anomaly • • •Is this only the case with the dark Frio template or also with the light-coloured one?
Anomaly
in reply to Matthias • • •only with loma template dark and light. with the original templates dark,light etc , I have no problems. advice?
Anomaly
in reply to Matthias • • •I see in the log
Anomaly
in reply to Matthias • • •it was my mistake, i was not downloading the RAW from github. Thank you, I like it very much
Matthias
in reply to Anomaly • • •Oh, that's good. Thank you very much for your feedback
Arappathor
in reply to Matthias • • •