Mike Gerwitz

Free Software Hacker+Activist

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mtg@gnu.org>2019-01-11 23:59:57 -0500
committerMike Gerwitz <mtg@gnu.org>2019-01-16 23:44:52 -0500
commit4052fc547ad457913ebc3938d3cc40f8a6b94566 (patch)
tree20f1dd83db654b52ae7a6e5ec585ca56800ed712
parentb6762c2dfc42b5444b148840670735a8acbf5140 (diff)
downloadthoughts-4052fc547ad457913ebc3938d3cc40f8a6b94566.tar.gz
thoughts-4052fc547ad457913ebc3938d3cc40f8a6b94566.tar.bz2
thoughts-4052fc547ad457913ebc3938d3cc40f8a6b94566.zip
Index page sapsf highlight cleanup
This corrects the padding and provides better placement for the talk link.
-rwxr-xr-xsrc/index.sh1
-rw-r--r--style.css12
2 files changed, 11 insertions, 2 deletions
diff --git a/src/index.sh b/src/index.sh
index d899fcb..b48ed69 100755
--- a/src/index.sh
+++ b/src/index.sh
@@ -115,6 +115,7 @@ main()
</aside>
<a href="#" class="lp-watch">Watch LibrePlanet&nbsp;2017 Talk</a>
+ <br clear="both" />
</section>
<section class="compact sm">
diff --git a/style.css b/style.css
index 74de06d..18eeda5 100644
--- a/style.css
+++ b/style.css
@@ -345,16 +345,20 @@ section .view-all {
section.highlight {
+ position: relative;
display: block;
+
background-color: #2e3436;
- padding: 2em;
color: #eeeeee; /* just slightly less jarring */
+
+ padding: 2em;
margin: 2em 0;
+
clear: both;
}
section.highlight > .title {
- font-size: 1.2em;
+ font-size: 1.3em;
display: inline-block;
width: 50%;
font-weight: bold;
@@ -371,6 +375,7 @@ section.highlight aside {
}
section.highlight a.lp-watch {
+ position: absolute;
display: inline-block;
background-image: url('images/tp/lp-2017-crop.png');
@@ -381,6 +386,9 @@ section.highlight a.lp-watch {
line-height: 75px;
padding-left: 85px; /* 75px + 10px margin between */
+ left: 2em;
+ bottom: 1em;
+
font-size: 1.2em;
color: white;