Commit Graph

214 Commits

Author SHA1 Message Date
Jérôme Charaoui
237afb9bfa
allow language menu to overlap yec banner 2024-10-23 14:05:55 -04:00
Jérôme Charaoui
5edacd6d02
update trademark policy link in footer 2024-10-23 13:10:20 -04:00
Jérôme Charaoui
f1de439777
reduce yec-illo on smallest media-breakpoint 2024-10-02 13:53:12 -04:00
Jérôme Charaoui
06a378d2bf
implement yec 2024 (tpo/web/tpo#453) 2024-10-02 09:49:57 -04:00
kez
0add02f5ac Add friends of tor match text to YEC banner
tpo/web/donate-static#129
tpo/web/tpo#392
2023-11-15 18:50:30 +01:00
Jérôme Charaoui
79ab8304ba
fix code samples in rtl pages (tpo/community/l10n#40120) 2023-11-09 12:48:16 -05:00
Jérôme Charaoui
894815bfbf
fix footer donate button always hidden
turns out that _donate.scss is actually processed on all websites, so
this doesn't work, so instead just prevent the template from generating
the button html on donate.tpo
2023-10-19 14:55:19 -04:00
Jérôme Charaoui
4ecb361938
fix horizontal scroll caused by banner close on rtl 2023-10-19 11:08:50 -04:00
Jérôme Charaoui
d15c56fe92
fix footer onion pattern for rtl text direction 2023-10-19 10:51:36 -04:00
Jérôme Charaoui
aefaa6195a
hide footer donate button on donate.tpo 2023-10-19 09:33:48 -04:00
Jérôme Charaoui
75f485455a
enlarge perk images on donate.tpo (tpo/web/donate-static#130) 2023-10-19 08:39:51 -04:00
Jérôme Charaoui
3043f2fc8f
fix minor onion pattern stroke inconsistencies 2023-10-18 23:37:20 -04:00
Jérôme Charaoui
ee85dad7df
re-export circle-pattern png to 280px height 2023-10-18 23:06:16 -04:00
Jérôme Charaoui
10adf9b548
rework onion pattern on footer
use direction: rtl to anchor the image on the right to avoid the need to
use a background image which scales badly on different browser window
sizes

this way the height of the image remains identical no matter the width
of the viewport
2023-10-18 22:59:11 -04:00
Jérôme Charaoui
1a972c9520
remove old circle pattern images
that png file was 544 Kb ...
2023-10-18 15:43:38 -04:00
Jérôme Charaoui
bfa285204e
add optimized footer circle pattern png/svg
currently this image is needlessly duplicated across multiple web
projects, and the versions used there are not optimized at all eg. the
png used in www.tpo is over 100 Kb!
2023-10-18 15:12:58 -04:00
Jérôme Charaoui
2d5a53901d
put banner close button on left for rtl (tpo/web/lego#61) 2023-10-17 10:13:07 -04:00
Jérôme Charaoui
6e52b1814f
cleanup deprecated eoy/yec css rules and fonts 2023-10-13 09:07:49 -04:00
Jérôme Charaoui
d9f096f3f4
Implement YEC 2023 banner
Context: tpo/web/tpo#385
Milestone: https://gitlab.torproject.org/groups/tpo/-/milestones/50

Co-authored-by: kez <kez@torproject.org>
2023-10-13 09:07:39 -04:00
Jérôme Charaoui
803e1f51ff
fix broken background image urls
this fixes the onion background on the footers of several websites, as well as
the browser window preview at https://www.torproject.org/download/
2023-09-07 16:26:34 -04:00
kez
a9311484da Lower the z-index on the footer
No element needs a z-index of "99999999999", and it breaks things that
absolutely 100% need to cover the footer, like a modal.
2023-05-01 14:40:53 -07:00
kez
008f474139 Use calc for math using SCSS vars
Context: https://github.com/sass/sass/issues/2981#issuecomment-751815258
2023-02-23 13:32:47 -08:00
Hiro
572fe0a7de Fix an error when compiling to sass. Check: https://github.com/sass/sass/issues/2981#issuecomment-751815258 2023-02-21 17:05:17 +00:00
kez
6344dce05e Re-add images, digital-climate-strike to css
commit 067f09de7a removed the entire css
directory from lego, but some of the files are necessary and shouldn't
have been removed
2023-01-30 14:20:23 -08:00
kez
067f09de7a Remove prebuilt css from lego
Closes #55
2023-01-30 13:50:05 -08:00
kez
70e80bbb55 Fix RTL overflow 2023-01-06 10:26:35 -08:00
kez
b10bdda352 Fix division deprecation warnings
Fixes made using sass-migrator, with one tweak in _functions.scss
using `math.div(..., 1000)` instead of `(...) * 0.001
2023-01-05 15:33:07 -08:00
kez
bd15d83766 Remove the rest of support-specific script 2022-12-20 13:27:46 -08:00
kez
05e0f876a8 Remove support-specific code form fallback.js
Closes #58
2022-12-20 10:57:49 -08:00
kez
5bd7190739 Restore the language-png font awesome icon, removed in the fontawesome cleanup 2022-12-12 14:49:50 -08:00
kez
c0d9ae9eeb Revert "Fix deprecation warnings in SCSS"
This reverts commit 52cccb249a.

Some lektor sites use lektor-scss, which relies on libsass. libsass does
not have support for the `math` module yet.
2022-11-22 10:43:54 -08:00
kezzle
691539da20 Merge branch 'fix-sass-deprecations' into 'main'
Fix deprecation warnings in SCSS

See merge request tpo/web/lego!74
2022-11-02 21:22:06 +00:00
kez
52cccb249a Fix deprecation warnings in SCSS 2022-11-02 13:43:40 -07:00
kez
912ec5ac88 rebuild css 2022-10-14 13:08:47 -07:00
kez
83de6af1d2 fix banner close hover color 2022-10-14 13:08:11 -07:00
kez
a9c232428d Final updates to YEC22 banner
rebuild css
2022-10-13 13:39:47 -07:00
kez
be35fa3b4f rebuild css 2022-10-12 10:53:00 -07:00
kez
2657dcf7a7 last revisions 2022-10-12 10:52:32 -07:00
kez
002a25e288 fix banner spacing on small screens 2022-10-12 10:52:32 -07:00
kez
d4b18d2626 update layout 2022-10-12 10:52:32 -07:00
kez
4b7be39475 remove redundant rotate 2022-10-07 12:32:00 -07:00
kez
621c2e685f make the close button work properly 2022-10-06 17:12:49 -07:00
HackerNCoder
67110d8c57 Add font fallback, attempt X svg not found fix 2022-09-30 11:24:34 +00:00
HackerNCoder
59fdedbea5 Add YEC '22 banner 2022-09-30 10:56:34 +00:00
Jérôme Charaoui
27fbe64409
remove test rule, unused at the moment 2022-09-07 15:14:30 -04:00
Jérôme Charaoui
19b1e875b2
prevent img overflow in main div (tpo/web/lego#44) 2022-09-07 15:10:22 -04:00
Jérôme Charaoui
80696bb8fa test rule for styling markdown images (tpo/web/lego#44) 2022-07-27 10:31:52 -04:00
kez
b7e11889ec Add fa-magnifying-glass CSS class and icon
Closes support#299
2022-07-21 17:50:22 -07:00
kez
6045d3ad4c Create .fa-telegram-png-purple SCSS rule 2022-07-14 11:45:47 -07:00
kez
22110b3570 Fix telegram.png dimensions and disk size
The previous telegram.png didn't have a 1:1 ratio, and needed to be run through zopflipng
2022-07-14 11:43:22 -07:00