summaryrefslogtreecommitdiffstats
path: root/web_src/less/_home.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-03-15 03:20:19 +0100
committerGitHub <noreply@github.com>2023-03-14 22:20:19 -0400
commit202803fc69d21763a06d8d0f5a4c46509c18f6f1 (patch)
tree4e273829061a640ceb6b3a33e563b3e8d842a8ae /web_src/less/_home.less
parentbf730528cadc4727eab8844934b6a0716d327243 (diff)
downloadgitea-202803fc69d21763a06d8d0f5a4c46509c18f6f1.tar.gz
gitea-202803fc69d21763a06d8d0f5a4c46509c18f6f1.zip
Replace Less with CSS (#23481)
Ran most of the Less files through the Less compiler and Prettier and then followed up with a round of manual fixes. The Less compiler had unfortunately stripped all `//` style comments that I had to restore (It did preserve `/* */` comments). Other fixes include duplicate selector removal which were revealed after the transpilation and which weren't caught by stylelint before but now are. Fixes: https://github.com/go-gitea/gitea/issues/15565
Diffstat (limited to 'web_src/less/_home.less')
-rw-r--r--web_src/less/_home.less61
1 files changed, 0 insertions, 61 deletions
diff --git a/web_src/less/_home.less b/web_src/less/_home.less
deleted file mode 100644
index fb31bedfa9..0000000000
--- a/web_src/less/_home.less
+++ /dev/null
@@ -1,61 +0,0 @@
-.home {
- .logo {
- max-width: 220px;
- }
-
- .hero {
- @media @mediaSm {
- h1 {
- font-size: 3.5em;
- }
-
- h2 {
- font-size: 2em;
- }
- }
-
- @media @mediaMdAndUp {
- h1 {
- font-size: 5.5em;
- }
-
- h2 {
- font-size: 3em;
- }
- }
-
- .svg {
- color: var(--color-green);
- height: 40px;
- width: 50px;
- vertical-align: bottom;
- }
-
- &.header {
- font-size: 20px;
- }
- }
-
- p.large {
- font-size: 16px;
- }
-
- .stackable {
- padding-top: 30px;
- }
-
- a {
- color: var(--color-green);
- }
-}
-
-footer {
- .ui.container .left,
- .ui.container .right {
- @media (max-width: 880px) {
- display: block;
- text-align: center;
- float: none;
- }
- }
-}