on master help sign in
Urbit.org: External link styling
commitf59113f294b2894de7bd084f7b2d448ce66007c6 authorMatilde Park <matilde@tlon.io> dateWed 4 Sep 2019, 19:36 (7 years ago) parent5d15be7
1 file changed+7−1
templates/base.html+7−1
templates/base.html+7−1
@@ -15,10 +15,16 @@
1515 <style type="text/css">
1616 #mc_embed_signup{clear:left; width:100%;}
1717 /* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
18− We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
18+ We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
19+
20+ /* external link css need template processing */
21+ a[href*="//"]:not([href*="{{config.base_url | safe}}"])::after {
22+ content: "↗";
23+ }
1924 </style>
2025 <link rel="stylesheet" href="/indigo.css">
2126 <link rel="stylesheet" href="/styles.css">
27+ <!-- analytics -->
2228 <script type="text/javascript">
2329 var _paq = window._paq || [];
2430 /* tracker methods like "setCustomDimension" should be called before "trackPageView" */