summaryrefslogtreecommitdiffstats
path: root/web_src/less/_home.less
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-11-12 17:22:16 +0800
committerAntoine GIRARD <sapk@users.noreply.github.com>2019-11-12 10:22:16 +0100
commite4e6d48e30da944192263f7ad812dfa78f03ae27 (patch)
treec916a645486c46cdc9dbf8e61c3454e757abe1ff /web_src/less/_home.less
parenta0d401451710622b2856d61bf514bccdc7bd0fbd (diff)
downloadgitea-e4e6d48e30da944192263f7ad812dfa78f03ae27.tar.gz
gitea-e4e6d48e30da944192263f7ad812dfa78f03ae27.zip
Move less from public/ to web_src/ so that it will not be packe… (#8908)
Diffstat (limited to 'web_src/less/_home.less')
-rw-r--r--web_src/less/_home.less64
1 files changed, 64 insertions, 0 deletions
diff --git a/web_src/less/_home.less b/web_src/less/_home.less
new file mode 100644
index 0000000000..53fd76f098
--- /dev/null
+++ b/web_src/less/_home.less
@@ -0,0 +1,64 @@
+.home {
+ .logo {
+ max-width: 220px;
+ }
+
+ .hero {
+ @media only screen and (max-width: 767px) {
+ h1 {
+ font-size: 3.5em;
+ }
+
+ h2 {
+ font-size: 2em;
+ }
+ }
+
+ @media only screen and (min-width: 768px) {
+ h1 {
+ font-size: 5.5em;
+ }
+
+ h2 {
+ font-size: 3em;
+ }
+ }
+
+ .octicon {
+ color: #5aa509;
+ font-size: 40px;
+ width: 50px;
+ }
+
+ &.header {
+ font-size: 20px;
+ }
+ }
+
+ p.large {
+ font-size: 16px;
+ }
+
+ .stackable {
+ padding-top: 30px;
+ }
+
+ a {
+ color: #5aa509;
+ }
+}
+
+.signup {
+ padding-top: 15px;
+}
+
+footer {
+ .ui.container .left,
+ .ui.container .right {
+ @media only screen and (max-width: 880px) {
+ display: block;
+ text-align: center;
+ float: none;
+ }
+ }
+}