summaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
authorAilin Nemui <ailin@linux.site>2015-06-14 23:04:52 +0200
committerAilin Nemui <ailin@linux.localdomain>2015-07-01 22:42:55 +0200
commitaeefab4eb333d47d9d0af936e9e3f59cf86815e1 (patch)
tree993b072fc34e9449e1caac6d0e763cf5dde92a9e /assets/css
parent2c5262dcacc95f80f8c4736e1210ced4b609063e (diff)
downloadirssi.github.io-aeefab4eb333d47d9d0af936e9e3f59cf86815e1.zip
irssi-import
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/style.css33
1 files changed, 33 insertions, 0 deletions
diff --git a/assets/css/style.css b/assets/css/style.css
index 9731f01..c0c38c0 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -3,6 +3,14 @@ body {
overflow-y: scroll;
}
+/* fix for anchored links to scroll the top bar */
+*[id]:before {
+ display: block;
+ content: " ";
+ margin-top: -65px;
+ height: 65px;
+ visibility: hidden;
+}
/* This is for mobile devices and the size of the youtube video */
iframe {
@@ -24,3 +32,28 @@ h3 a {
footer {
margin-top: 20ex;
}
+
+/* Out of site link */
+a[rel="external"],a.rel-external {
+ padding-right: 10px;
+}
+
+.navbar-nav a[rel="external"] {
+ padding-right: 10px;
+}
+
+a[rel="external"]:after,a.rel-external:after {
+ position: absolute;
+ font-family: 'Glyphicons Halflings';
+ content: "\e164"; /* glyphicon-new-window */
+ padding-left: 2px;
+ font-size: 51%;
+}
+
+.navbar-nav a[rel="external"]:after {
+ font-size: 100%;
+}
+
+a[rel="external"]:hover:after,a.rel-external:hover:after {
+ text-decoration: none;
+}