Commit f96cba5b authored by Laura Kalbag's avatar Laura Kalbag

Replace heading icons with plain centred titles. Closes #231 #226

Also replace trackers list heading and tidy up margins
parent e9debf70
......@@ -531,67 +531,19 @@ main .download-on-the-app-store img, .team-photo {
* Trackers index *
****************************************************************************/
/*
Heading image
*/
h1.trackers, h1.clouds, h1.spotlight, h1.sites, h1.news, h1.support, #trackers-list h4 {
background-size: 2.5em;
background-position: top center;
background-repeat: no-repeat;
height: 0;
margin-top: 0.25em;
overflow: hidden;
padding-left: 100%;
padding-bottom: 2.5em;
width: 0;
}
/*
Heading image
*/
h1.trackers, #trackers-list h4 {
background-image: url('../images/tracker.svg');
}
#trackers-list h4 {
/* ↓ so icon size and spacing matches that of h1s */
font-size: 2em;
margin: 0.5em 0;
text-align: center;
}
/****************************************************************************
* Sites index *
****************************************************************************/
h1.sites {
background-image: url('../images/sites.svg');
}
/****************************************************************************
* Spotlight index *
****************************************************************************/
h1.spotlight {
background-image: url('../images/spotlight.svg');
}
/****************************************************************************
* News index *
****************************************************************************/
h1.news {
background-image: url('../images/news.svg');
#trackers-list ul {
margin-top: 0.5em;
}
/****************************************************************************
* Support index *
****************************************************************************/
h1.support {
background-image: url('../images/support-circle.svg');
}
body.support main h2, body.support main h3 {
/* ↓ don’t centre-align titles on Support */
text-align: left;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment