Skip to content

Commit f524d1b

Browse files
committed
Revert "Center "Others" card content on the landing page"
This reverts commit 3326328.
1 parent 7014920 commit f524d1b

File tree

2 files changed

+92
-82
lines changed

2 files changed

+92
-82
lines changed

index.html.haml

Lines changed: 72 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -19,91 +19,85 @@ title: Hibernate. Everything data.
1919
%h1 More than an ORM, discover the Hibernate galaxy.
2020
.ui.container.content#content
2121
.projects
22-
.ui.three.column.doubling.grid.stackable
23-
.column
22+
.ui.doubling.stackable
23+
.project
2424
.ui.raised.segment.orm
25-
.project
26-
%h3.ui.header
27-
%a{:href => relative("/orm/")} Hibernate ORM
28-
%p
29-
%i.big.icon.database
30-
Domain model persistence for relational databases.
31-
.ui.right.aligned.basic.segment
32-
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/orm/")}
33-
%i.right.arrow.icon
34-
More
35-
.column
25+
%h3.ui.header
26+
%a{:href => relative("/orm/")} Hibernate ORM
27+
%p
28+
%i.big.icon.database
29+
Domain model persistence for relational databases.
30+
.ui.right.aligned.basic.segment
31+
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/orm/")}
32+
%i.right.arrow.icon
33+
More
34+
.project
3635
.ui.raised.segment.search
37-
.project
38-
%h3.ui.header
39-
%a{:href => relative("/search/")} Hibernate Search
40-
%p
41-
%i.big.icon.search
42-
Full-text search for your domain model.
43-
.ui.right.aligned.basic.segment
44-
%a.button.ui.right.labeled.icon.a.primary{:href => relative("/search/")}
45-
%i.right.arrow.icon
46-
More
47-
.column
36+
%h3.ui.header
37+
%a{:href => relative("/search/")} Hibernate Search
38+
%p
39+
%i.big.icon.search
40+
Full-text search for your domain model.
41+
.ui.right.aligned.basic.segment
42+
%a.button.ui.right.labeled.icon.a.primary{:href => relative("/search/")}
43+
%i.right.arrow.icon
44+
More
45+
.project
4846
.ui.raised.segment.validator
49-
.project
50-
%h3.ui.header
51-
%a{:href => relative("/validator/")} Hibernate Validator
52-
%p
53-
%i.big.icon.checkmark.box
54-
Annotation based constraints for your domain model.
55-
.ui.right.aligned.basic.segment
56-
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/validator/")}
57-
%i.right.arrow.icon
58-
More
59-
.column
47+
%h3.ui.header
48+
%a{:href => relative("/validator/")} Hibernate Validator
49+
%p
50+
%i.big.icon.checkmark.box
51+
Annotation based constraints for your domain model.
52+
.ui.right.aligned.basic.segment
53+
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/validator/")}
54+
%i.right.arrow.icon
55+
More
56+
.project
6057
.ui.raised.segment.reactive
61-
.project
62-
%h3.ui.header
63-
%a{:href => relative("/reactive/")} Hibernate Reactive
64-
%p
65-
%i.big.icon.flask
66-
Reactive domain model persistence for relational databases.
67-
.ui.right.aligned.basic.segment
68-
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/reactive/")}
69-
%i.right.arrow.icon
70-
More
71-
.column
58+
%h3.ui.header
59+
%a{:href => relative("/reactive/")} Hibernate Reactive
60+
%p
61+
%i.big.icon.flask
62+
Reactive domain model persistence for relational databases.
63+
.ui.right.aligned.basic.segment
64+
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/reactive/")}
65+
%i.right.arrow.icon
66+
More
67+
.project
7268
.ui.raised.segment.data
73-
.project
74-
%h3.ui.header
75-
%a{:href => relative("/repositories/")} Data Repositories
76-
%p
77-
%i.big.icon.university
78-
A simplified programming model based on Jakarta Data.
79-
.ui.right.aligned.basic.segment
80-
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/repositories/")}
81-
%i.right.arrow.icon
82-
More
83-
.column
69+
%h3.ui.header
70+
%a{:href => relative("/repositories/")} Data Repositories
71+
%p
72+
%i.big.icon.university
73+
A simplified programming model based on Jakarta Data.
74+
.ui.right.aligned.basic.segment
75+
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/repositories/")}
76+
%i.right.arrow.icon
77+
More
78+
.project
8479
.ui.raised.segment.tools
85-
.project
86-
%h3.ui.header
87-
%a{:href => relative("/tools/")} Hibernate Tools
88-
%p
89-
%i.big.icon.wrench
90-
Command line tools and IDE plugins for your Hibernate usages.
91-
.ui.right.aligned.basic.segment
92-
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/tools/")}
93-
%i.right.arrow.icon
94-
More
95-
.column
80+
%h3.ui.header
81+
%a{:href => relative("/tools/")} Hibernate Tools
82+
%p
83+
%i.big.icon.wrench
84+
Command line tools and IDE plugins for your Hibernate usages.
85+
.ui.right.aligned.basic.segment
86+
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/tools/")}
87+
%i.right.arrow.icon
88+
More
89+
.project
9690
.ui.raised.segment.others
97-
.project
98-
%h3.ui.header
99-
%a{:href => relative("/others/")} Others
100-
%p
101-
%i.big.icon.pause
102-
Less-active projects (Hibernate OGM, Hibernate Shards).
103-
.ui.right.aligned.basic.segment
104-
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/others/")}
105-
%i.right.arrow.icon
106-
More
91+
%h3.ui.header
92+
%a{:href => relative("/others/")} Others
93+
%p
94+
%i.big.icon.pause
95+
Less-active projects (Hibernate OGM, Hibernate Shards).
96+
.ui.right.aligned.basic.segment
97+
%a.ui.button.right.labeled.icon.a.primary{:href => relative("/others/")}
98+
%i.right.arrow.icon
99+
More
100+
.column
107101

108102
:javascript
109103
$(document).ready(function() {

stylesheets/styles.scss

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,29 @@
176176
.projects {
177177
margin-top: 30px;
178178

179-
.ui.grid {
180-
justify-content: space-around;
181-
}
182-
183179
.ui.segment {
184180
background-color: #fafafa;
185181
}
182+
183+
.project {
184+
.ui.raised.segment {
185+
height: 100%;
186+
display: flex;
187+
flex-direction: column;
188+
189+
.ui.basic.segment {
190+
margin-top: auto;
191+
}
192+
}
193+
}
194+
195+
.ui.doubling.stackable {
196+
display: grid;
197+
grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
198+
align-items: stretch;
199+
column-gap: 28px;
200+
row-gap: 28px;
201+
}
186202
}
187203

188204
/**

0 commit comments

Comments
 (0)