diff options
author | Daniel Baumann <daniel@debian.org> | 2024-10-18 20:33:49 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2024-12-12 23:57:56 +0100 |
commit | e68b9d00a6e05b3a941f63ffb696f91e554ac5ec (patch) | |
tree | 97775d6c13b0f416af55314eb6a89ef792474615 /web_src/css/home.css | |
parent | Initial commit. (diff) | |
download | forgejo-e68b9d00a6e05b3a941f63ffb696f91e554ac5ec.tar.xz forgejo-e68b9d00a6e05b3a941f63ffb696f91e554ac5ec.zip |
Adding upstream version 9.0.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'web_src/css/home.css')
-rw-r--r-- | web_src/css/home.css | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/web_src/css/home.css b/web_src/css/home.css new file mode 100644 index 0000000..22f1a2d --- /dev/null +++ b/web_src/css/home.css @@ -0,0 +1,87 @@ +.home .logo { + max-width: 220px; +} + +@media (max-width: 767.98px) { + .home .hero h1 { + font-size: 3.5em; + } + .home .hero h2 { + font-size: 2em; + } +} + +@media (min-width: 768px) { + .home .hero h1 { + font-size: 5.5em; + } + .home .hero h2 { + font-size: 3em; + } +} + +.home .hero .svg { + color: var(--color-primary); + height: 40px; + width: 50px; + vertical-align: bottom; +} + +.home .hero.header { + font-size: 20px; +} + +.home p.large { + font-size: 16px; +} + +.home .stackable { + padding-top: 30px; +} + +.home a { + color: var(--color-primary); +} + +.page-footer { + display: flex; + justify-content: space-between; + background-color: var(--color-footer); + border-top: 1px solid var(--color-secondary); + padding: 8px 20px; +} + +.page-footer .left-links { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: center; + gap: 0.25em; +} + +.page-footer .right-links { + min-width: 180px; /* make sure the menu dropdown doesn't overflow horizontally when language name is short */ + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: center; +} + +.page-footer .right-links > a { + border-left: 1px solid var(--color-secondary-dark-1); + padding-left: 8px; + margin-left: 5px; +} + +.page-footer .ui.dropdown.language .menu { + max-height: min(500px, calc(100vh - 60px)); + overflow-y: auto; + margin-bottom: 10px; +} + +@media (max-width: 880px) { + .page-footer { + flex-direction: column; + gap: 0.5em; + } +} |