Skip to content

Commit 328807c

Browse files
Merge pull request #90 from KindleModding/css-reset-and-fix-layout
CSS reset and fix layout
2 parents b6c8759 + 6b97a91 commit 328807c

File tree

2 files changed

+195
-83
lines changed

2 files changed

+195
-83
lines changed

content/_index.html

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
.buttons > *
5151
{
5252
min-width: 0;
53-
margin: 1em;
5453
}
5554

5655
@media (max-width: 500px) {
@@ -60,19 +59,48 @@
6059
}
6160
}
6261

63-
.card > h1, .card > h2
62+
.card
6463
{
65-
width: 100%;
64+
padding: 2em 1em;
6665
text-align: center;
66+
margin: 2em;
67+
}
68+
69+
.card h1
70+
{
71+
font-size: 24pt;
72+
margin: 0;
73+
margin-bottom: 1.5ex;
74+
}
75+
76+
.card h2
77+
{
78+
font-size: 18pt;
79+
margin: 0;
80+
margin-bottom: 1.2ex;
81+
}
82+
83+
.card p
84+
{
85+
font-size: 12pt;
86+
margin: 0;
87+
margin-bottom: 2.5ex;
88+
}
89+
90+
.card > :last-child
91+
{
92+
margin-bottom: 0;
6793
}
6894
</style>
6995
</head>
7096
<div class="main">
71-
<div class="landing-section card" style="margin-bottom: 3em; margin-top: 2em;">
72-
<h1 style="color: var(--text-colour) !important;">Kindle Modding Wiki</h1>
73-
<p>Welcome to the Kindle Modding Wiki</p>
74-
<p>Your one-stop shop for all things related to hacking Kindles</p>
75-
<a class="button" href="/kindle-models.html">Get Started</a>
97+
<div class="landing-section">
98+
<div class="card">
99+
<h1 style="color: var(--text-colour) !important;">Kindle Modding Wiki</h1>
100+
<p>Welcome to the Kindle Modding Wiki</p>
101+
<p>Your one-stop shop for all things related to hacking Kindles</p>
102+
<a class="button" href="/kindle-models.html">Get Started</a>
103+
</div>
76104
</div>
77105

78106
<div class="landing-section buttons">

0 commit comments

Comments
 (0)