Skip to content

Commit

Permalink
announcing: barnaclad
Browse files Browse the repository at this point in the history
  • Loading branch information
hlian committed Mar 12, 2015
1 parent 8619b91 commit ff94786
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 5 deletions.
1 change: 1 addition & 0 deletions app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*= require has-fancy-underline
*= require flags/basic
*= require flags/flags32
*= require barnaclad
*/


Expand Down
31 changes: 31 additions & 0 deletions app/assets/stylesheets/barnaclad.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
fieldset.ad {
margin-top: -1rem;
margin-bottom: 2rem;
margin-left: 55px;
border: 1px solid #eee;
}

.ad legend {
font-family: signpainter, times, serif;
font-style: italic;
font-size: 2rem;
padding-right: 0.8rem;
padding-left: 0.5rem;
}

fieldset legend {
border: 1px solid #eee;
}

fieldset.ad {
font-family: courier;
}

.ad-plug {
font-size: 8px !important;
color: #444;
}

.ad-plug a {
color: #444;
}
23 changes: 18 additions & 5 deletions app/views/home/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,30 @@
<% stories = [
"the internet’s oldest community",
"the envy of bazaars overseas",
"not afraid to love, again",
"in peak physical condition, sources say",
"looking at you shyly",
"taking life TWO steps at a time",
"truly wonderful, said Ms. Trudy Wonlerfud",
"still here, after all this time",
"the owner of two same snowflakes, promises not to tell anybody",
"heart in hand and lost at sea",
"just spice-route gossip",
"spice-route gossip",
"rubbing its chin thoughtfully",
"mad with power, but sad with respect",
"gone when you wake up in the morning",
"the one who port-knocks",
"unsure of where to stand in the whole East vs. West Coast debate",
] %>

<fieldset class="ad">
<legend>Barnaclad™</legend>
<p><a href="https://ianthehenry.com/basilica/">Basilica</a> — No trolls. No ascending chronological order. Just friends.</p>
<div class="ad-plug"><em>Barnacles</em> is made possible by
Barnaclad™, a high-signal, hand-curated ad network/webring for
reaching the leading mathematicians, plumbers, horse whisperers, and eccentric arsonists
of our time. To advertise, please contact
<a href='m&#97;ilt&#111;&#58;ba%72%6&#69;a&#99;l&#37;61&#100;&#37;40hao%6C%&#54;9&#97;n&#46;org'>&#98;&#97;&#114;na&#99;la&#100;&#64;&#104;a&#111;l&#105;&#97;n&#46;&#111;&#114;&#103;</a>.
(Seriously though: if you have something cool you need eyeballs
on, let me know.)</div>
</fieldset>

<% story = stories[rand(stories.length)] %>
<div class="box guess" id="leader">
<p><em>Barnacles</em> is <%= story %>. To submit a URL or ask a question, </p>
Expand Down

0 comments on commit ff94786

Please sign in to comment.