Commit Graph

535 Commits

Author SHA1 Message Date
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
e2661d1f27
hide language dropdown in footer when english-only
this is needed for the donate website which uses i18n but only has one
language (english) enabled
2023-10-19 09:32:27 -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
5b80983480
additional yec 2023 banner text fix (tpo/web/tpo#385) 2023-10-17 16:11:41 -04:00
Jérôme Charaoui
895c1ef229
fix yec 2023 banner text (tpo/web/tpo#385) 2023-10-17 16:06:41 -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
2eccdda68a
fix yec 2023 banner text direction (tpo/web/lego#61) 2023-10-16 16:00:28 -04:00
Gaba
a1c4ffec5f Merge branch 'a91y-main-patch-34506' into 'main'
Added gitlab url to footer.html

Closes #60

See merge request tpo/web/lego!85
2023-10-16 13:24:20 +00:00
Jérôme Charaoui
39ba04c9b7 Merge branch 'yec-2023' into 'main'
Prep for YEC 2023

See merge request tpo/web/lego!87
2023-10-13 13:12:17 +00: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
kez
6d614b75be Add translated content files to gitignore 2023-09-25 18:00:47 +02: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
emmapeel
213bd0bc75 Merge branch 'arabic' into 'main'
add new locale to the links: Arabic.

See merge request tpo/web/lego!86
2023-09-07 07:41:25 +00:00
emma peel
20fe9d029e add new locale to the links: Arabic. 2023-08-22 17:10:12 +02:00
a91y
3fc0c56a95 Added gitlab url to footer.html 2023-07-23 12:28:30 +00:00
Gus
d7bdef4020 Merge branch 'new-forum-links' into 'main'
New forum link

See merge request tpo/web/lego!84
2023-06-26 14:49:44 +00:00
emmapeel
4f1810e131 New forum link 2023-06-26 14:49:44 +00:00
kezzle
28f644d665 Merge branch 'update_langs' into 'main'
update links for new locale Swahili, and remove outdated locales from support links

See merge request tpo/web/lego!83
2023-05-17 17:39:05 +00:00
emma peel
57e88475df update links for Swahili, new locale, and remove outdated locales Bengali and Catalan from support. 2023-05-16 14:39:06 +00: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
kezzle
ae5dbd069e Merge branch 'main-patch-36c5' into 'main'
Fix an error when compiling to sass. Check:...

See merge request tpo/web/lego!82
2023-02-23 21:01:52 +00: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
0a7a610792 Hide donation match text 2023-02-06 14:58:07 -08:00
kezzle
1cdf5c1f99 Merge branch 'more_langs' into 'main'
add new locales to the menu

See merge request tpo/web/lego!80
2023-02-02 19:44:56 +00:00
kez
d049096bf8 Add documentation about lektor-scss to README 2023-01-30 14:32:29 -08: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
kezzle
8ef7ee38ce Merge branch 'remove-prebuilt-css' into 'main'
Remove prebuilt css from lego

Closes #55

See merge request tpo/web/lego!81
2023-01-30 22:17:11 +00:00
kez
067f09de7a Remove prebuilt css from lego
Closes #55
2023-01-30 13:50:05 -08:00
emma peel
3b83f6b96c add new locales to the menu 2023-01-26 08:49:01 +00:00
kez
b7b2a6f1f0 Merge branch 'lego-feature/gitignore' 2023-01-18 12:19:00 -08:00
Silvio Rhatto
141f6b5717
Fix: remove egg-info folders and update .gitignore 2023-01-18 16:22:29 -03:00
kez
8ab1406ed1 Remove YEC banner
Closes #59
2023-01-06 12:27:43 -08:00
kezzle
a3f8355a5e Merge branch 'fix-banner-rtl' into 'main'
Fix RTL overflow

See merge request tpo/web/lego!79
2023-01-06 19:37:22 +00: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
8ad49fb62e Remove old lektor-scss package
See tpo/web/lego#57
2023-01-05 12:26:05 -08:00
kez
0cf8b08a82 Update sass version 2022-12-22 09:34:51 -08:00
kez
a8e5b3dd7f Fix the download script for real this time 2022-12-22 09:34:43 -08:00
kez
c51ac4f0c1 Fix tarball checksum 2022-12-22 09:25:26 -08:00
kez
66d670ebe1 Fix typo in curl command
-O uses the remote file name, we want -o
2022-12-22 09:22:25 -08:00