Skip to content

Commit a816611

Browse files
committed
Neatly align plugins centrally for all themes.
1 parent 68d9765 commit a816611

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

css/main.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ body {
154154

155155
/***** Plugins Container ****/
156156
#plugins {
157+
text-align: center;
157158
padding: 20px;
158159
padding-top: 0;
159160
margin-top: 0;
@@ -162,7 +163,9 @@ body {
162163

163164
/***** Plugin ****/
164165
.plugin {
165-
float: left;
166+
vertical-align: text-top;
167+
width: 450px;
168+
display: inline-block;
166169
padding: 0;
167170
background-color: #FFFFFF;
168171
color: black;
@@ -172,7 +175,7 @@ body {
172175
margin-top: 10px;
173176
margin: 0 auto;
174177
margin-top: 20px;
175-
margin-left: 50px;
178+
margin-left: 20px;
176179
margin-bottom: 50px;
177180
}
178181
@media (max-width: 768px) {

css/theme-old.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ html.old body .hero nav-bar ul li:hover a {
7373
html.old body #plugins {
7474
display: flex;
7575
flex-flow: row wrap;
76-
justify-content: flex-start;
76+
justify-content: center;
7777
}
7878
html.old body .plugin {
7979
border: 1px solid #d5d5d5;

0 commit comments

Comments
 (0)