Skip to content

Commit 5618ad3

Browse files
committed
Adjust getting started button
1 parent 327970c commit 5618ad3

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

assets/stylesheets/screen.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,10 @@ body.gorm .mainheader {
561561
background-color: gray;/*#feb672;*/
562562
}
563563

564+
.get-started-row .calltoaction h2 {
565+
background-color: #255aa8;
566+
}
567+
564568
.headerbar,
565569
#features {
566570
background-color: #255AA8;
@@ -1058,7 +1062,6 @@ article.quote h2 {
10581062
position: relative;
10591063
display: block;
10601064
justify-content: center;
1061-
padding-bottom: 2em;
10621065
}
10631066

10641067
.testimonials {
@@ -1101,7 +1104,6 @@ article.quote h2 {
11011104
}
11021105
.get-started-row {
11031106
display: flex;
1104-
top: -2em; /* This is super ugly, but the .calltoaction h2 has margins on it which we need to compensate for */
11051107
}
11061108

11071109
.mainheader {

pages/index.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44
<div class="homebar">
55
<div class="content">
66
<h1>A powerful Groovy-based web application framework for the JVM built on top of Spring Boot</h1>
7+
<div class="get-started-row">
8+
<div class="calltoaction">
9+
<h2>
10+
<a href="https://start.grails.org/">
11+
<span class="version">Get Started</span>
12+
</a>
13+
</h2>
14+
</div>
15+
</div>
716
<div class="calltoactions">
817
<div class="calltoaction">
918
<b>Read the docs</b>
@@ -38,12 +47,6 @@ <h2>
3847
</div>
3948
<div class="get-started-row">
4049
<div class="calltoaction">
41-
<h2>
42-
<a href="https://start.grails.org/">
43-
<span class="version">Get Started</span>
44-
</a>
45-
</h2>
46-
4750
<span class="allversions">NOTE: Versions prior to 7.0.0-M4 are not ASF releases. Links to those releases are provided here as a convenience.</span>
4851
</div>
4952
</div>

0 commit comments

Comments
 (0)