Commit Graph

565 Commits

Author SHA1 Message Date
kez
4071e3799e Add lektor-scss plugin
Closes: #27

I've audited the plugin, and it's safe. it's a straight lektor plugin wrapper
around libsass, with most of the logic handling dev server reloads.

Each site individually will have to switch to the plugin to compile its
SCSS. This will require a lego update, a new config file, and a change
to the CI script.
2022-05-26 16:49:31 -07:00
kezzle
baa04f5f11 Merge branch 'i22-logo-link' into 'main'
Make the navbar logo link to torproject.org/<locale>

Closes #22

See merge request tpo/web/lego!58
2022-05-17 18:25:35 +00:00
kez
6cb9538c75 Make the navbar logo link to torproject.org/<locale>
Closes: #22
2022-05-17 11:22:52 -07:00
Gus
5bd5f94d62 Merge branch 'locale_updates' into 'main'
add ru version for community portal

See merge request tpo/web/lego!57
2022-05-17 13:27:55 +00:00
emma peel
c1b6d1f447 add ru version for community portal 2022-05-17 14:50:35 +02:00
kezzle
4a7fcb9a61 Merge branch 'fix-donate-font' into 'main'
Fix font-size on donate.tpo/donor-faq

See merge request tpo/web/lego!56
2022-04-20 23:49:41 +00:00
kez
6cd87001a9 Fix font-size on donate.tpo/donor-faq
Context: https://gitlab.torproject.org/tpo/web/donate-static/-/merge_requests/74#note_2797056
2022-04-20 13:32:59 -07:00
kezzle
298e4d74fc Merge branch 'enable-mobile-header' into 'main'
Re-enable the mobile header for donate

See merge request tpo/web/lego!55
2022-04-13 18:49:20 +00:00
kez
b0253d0652 Re-enable the mobile header for donate 2022-04-13 11:47:52 -07:00
kezzle
714a109874 Merge branch 'enable-mobile-header' into 'main'
Re-enable the mobile header image for donate-static

See merge request tpo/web/lego!54
2022-03-23 21:12:25 +00:00
kez
bfc52de5d3 Re-enable the mobile header image for donate-static
Context: donate-static#73
2022-03-23 14:09:49 -07:00
kez
e779b2c09f Add sans-serif fallback to .font-weight-light
Context: tpo/web/team#29
2022-03-16 04:32:16 -07:00
kezzle
42495e2fba Merge branch 'teami29-hanuman-font' into 'main'
Add the Hanuman fonts to lego

Closes team#29

See merge request tpo/web/lego!53
2022-03-03 19:13:08 +00:00
kez
49c6aad7e2 Add the Hanuman fonts to lego
Closes team#29
2022-03-03 10:55:01 -08:00
Jérôme Charaoui
39c3700f06 Merge branch 'bootstrap-cleanup' into 'main'
Cleanup unused bootstrap CSS resources, fixes #45

Closes #45

See merge request tpo/web/lego!52
2022-02-23 22:26:51 +00:00
Jérôme Charaoui
88d0be895d Collect all fonts under assets/static/fonts
Previously we had web fonts under for assets/static/fonts and
assets/static/css/fonts, leading to duplicate font files. There
shouldn't be any reason for this setup because CSS files can source font
files using relative paths, which this commit also changes for SCSS
source files. Font paths in CSS files were also changed in the previous
commits.
2022-02-21 16:01:36 -05:00
Jérôme Charaoui
ddcb1f6ccf Cleanup unused bootstrap CSS resources
I could not find any lego-based website that use these files, and their
origin is unclear. In any case, it's clear from the git logs that these
files are stale copies of the real Bootstrap code in "assets/static/css"
2022-02-21 13:59:10 -05:00
Jérôme Charaoui
5743404040 Fix more font URLs 2022-02-21 13:46:36 -05:00
Jérôme Charaoui
7dfa80cce4 Merge branch 'fontawesome-cleanup' into 'main'
Remove unused FontAwesome source files

See merge request tpo/web/lego!51
2022-02-21 18:09:24 +00:00
Jérôme Charaoui
3f0563bdaf use relative path for fontawesome PNG assets 2022-02-09 10:58:34 -05:00
Jérôme Charaoui
caaf20277c fontawesome cleanup
We really only use a small portion of the FontAwesome package, so we
should only keep the parts that we need. This removes over 5000 files
that are copied every time we build the sites locally and in CI so this
should help performance in both build and deployment processes.

This keeps around a handful of files in png/* that are referred to by
bootstrap.css as well and the CSS code and the webfont files.
2022-02-09 10:06:10 -05:00
kez
5b72945001 Remove the include banner.html line from navbar
This was a leftover from the YEC banner. It was commented out, but one
of the plugins was still trying to read it and producing some ugly
output.
2022-01-25 09:19:03 -08:00
kez
6460b17b45 Finish support#86: make side static
I originally merged !27 before it was fully complete. This commit
finishes up the last bit and makes the solution work.
2022-01-24 12:43:55 -08:00
kez
1ab702c05f Merge branch 'issue26_crypto_copy_css' into 'main'
css: add 'cursor' to copy-button to make it more obvious it can be copied.

Closes #26

See merge request tpo/web/lego!48
2022-01-24 17:35:13 +00:00
Paul Walker
dcf5b6d927 css: add 'cursor' to copy-button to make it more obvious it can be copied.
Closes #26.
2022-01-21 22:54:14 +00:00
kez
a1021b8a40 Merge branch 'add-readme' into 'main'
Add a README file

See merge request tpo/web/lego!47
2022-01-19 19:08:58 +00:00
kez
26e2bd6140 Add the new bridgedb-specific css 2022-01-12 14:08:33 -08:00
kez
ff2daad552 Add more information about lego
Mostly adding lego as a submodule, symlinking, and a brief note about
the (lack of a) license.
2022-01-12 12:03:31 -08:00
kez
14d464d669 Add a README file
The README is the start of some helpful documentation, but it's also
being used to mark the transition to gitlab as the canonical source for
lego. The discussion about that will happen in the MR for this.
2022-01-11 11:46:06 -08:00
kez
efd74eae8e Remove the padding-top from .page
This was added during YEC and breaks when the YEC banner is removed.
It's been changed back to `0 !important`.
2022-01-10 11:13:24 -08:00
kez
ed53414d3a Rebuild the CSS 2022-01-10 09:18:50 -08:00
kez
a2ca2ccd0b Remove the YEC banner
Context: tpo/web/lego#42
2022-01-06 12:47:13 -08:00
kez
6d933730d4 Swap the year-end-campaign yellow for #49CBB7
Context: tpo/web/donate-static#64
2022-01-06 11:14:22 -08:00
kez
fbdd66a009 Merge branch 'i-40' into 'master'
Update YEC banner to reflect having hit our match

Closes #40

See merge request tpo/web/lego!45
2021-11-24 21:21:48 +00:00
HackerNCoder
28342bc8fb
Update YEC banner to reflect having hit our match
Closes #40
2021-11-22 21:35:29 +00:00
kez
f784afdc34 Hide donate button from navbar for the duration of the campaign
https://gitlab.torproject.org/tpo/web/lego/-/issues/35
2021-11-03 13:47:09 -07:00
Duncan
0d9efebbae Update assets/static/css/images/home/png/yec-activist-de@2x.png, assets/static/css/images/home/png/yec-activist-de@3x.png, assets/static/css/images/home/png/yec-activist-el@2x.png, assets/static/css/images/home/png/yec-activist-el@3x.png, assets/static/css/images/home/png/yec-activist-mk@2x.png, assets/static/css/images/home/png/yec-activist-mk@3x.png 2021-11-03 15:04:34 +00:00
Duncan
534eba200f Delete yec-activist-light-en.png 2021-11-03 15:01:44 +00:00
Silvia/Hiro
38d2ab26f4 Patch lego to solve build issues 2021-11-03 00:45:27 +01:00
gus
637cc6c7d5 Merge branch 'new-yec-assets' 2021-11-02 15:17:30 -03:00
Duncan
b3c42c92c2 Replace yec-activist-en.svg
Replace yec-activist-es-AR.svg

Replace yec-activist-es.svg

Replace yec-activist-fr.svg

Replace yec-activist-ga.svg

Replace yec-activist-hr.svg

Replace yec-activist-hu.svg

Replace yec-activist-nl.svg

Replace yec-activist-pt-BR.svg

Replace yec-activist-ru.svg

Replace yec-activist-sv.svg

Replace yec-activist-tr.svg

Replace yec-activist-zh-CN.svg

Replace yec-activist-en.png

Replace yec-activist-en@2x.png

Replace yec-activist-es-AR@2x.png

Replace yec-activist-es@2x.png

Replace yec-activist-fr@2x.png

Replace yec-activist-ga@2x.png

Replace yec-activist-hr@2x.png

Replace yec-activist-hu@2x.png

Replace yec-activist-nl@2x.png

Replace yec-activist-pt-BR@2x.png

Replace yec-activist-ru@2x.png

Replace yec-activist-sv@2x.png

Replace yec-activist-tr@2x.png

Replace yec-activist-zh-CN@2x.png

Replace yec-activist-en@3x.png

Replace yec-activist-es-AR@3x.png

Replace yec-activist-es@3x.png

Replace yec-activist-fr@3x.png

Replace yec-activist-ga@3x.png

Replace yec-activist-hr@3x.png

Replace yec-activist-hu@3x.png

Replace yec-activist-nl@3x.png

Replace yec-activist-pt-BR@3x.png

Replace yec-activist-ru@3x.png

Replace yec-activist-sv@3x.png

Replace yec-activist-tr@3x.png

Replace yec-activist-zh-CN@3x.png

Add `mk` SVG

Add `el` SVG

Add `de` SVG

Add 2x `de` PNG

Add 2x `el` PNG

Add 2x `mk` PNG

Add 3x `de` PNG

Add 3x `el` PNG

Add 3x `mk` PNG
2021-11-02 15:17:01 -03:00
gus
e8a370880c Merge branch 'missing-string' 2021-11-02 15:13:35 -03:00
HackerNCoder
73a55e5b07 Get rid of some css capitalization 2021-11-01 12:10:51 +00:00
emma peel
a8d732eaea add another string that the system is not picking up 2021-11-01 10:01:01 +01:00
HackerNCoder
796f47cab9 Add comment explaining z-index change 2021-10-28 18:31:02 +00:00
HackerNCoder
b0fad5b0a8 Make lang selection dropdown stay over submenu
They say it's supposed to work together in _variables, but it isn't.

Closes #246
2021-10-27 17:14:02 +00:00
gus
c615f285b3 Fix YEC assets in zh-CN 2021-10-27 13:34:05 -03:00
kez
bc96ee5898 Merge remote-tracking branch 'hackerncoder/support-86' 2021-10-25 13:29:58 -07:00
kez
e28f603b3e Rename two-part language codes to use a dash
Lektor's this.alt uses a dash instead of an underscore (i.e. es-AR
instead of es_AR).
2021-10-25 12:57:47 -07:00
gus
c8ed9e1d9c Add yec banner 2021-10-25 15:05:11 -03:00