summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-04-08 12:35:20 +0200
committerPeter Wu <peter@lekensteyn.nl>2015-04-08 12:35:20 +0200
commit621da1248ae54883ec2769822002eba4bc125704 (patch)
treea2098619e40a59fdb43ac1d52e3dc68159a5bf41
parent501d5d968040a95522488b2695bd1b6775dde884 (diff)
downloadsite-621da1248ae54883ec2769822002eba4bc125704.tar.gz
Mark external links
-rw-r--r--style/links.less5
-rw-r--r--style/main.less3
2 files changed, 8 insertions, 0 deletions
diff --git a/style/links.less b/style/links.less
new file mode 100644
index 0000000..88a00be
--- /dev/null
+++ b/style/links.less
@@ -0,0 +1,5 @@
+
+a:not([href^="#"]):after {
+ padding-left: 2px;
+ content: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%2210%22%3E%3Cg%20transform%3D%22translate%28-826.429%20-698.791%29%22%3E%3Crect%20width%3D%225.982%22%20height%3D%225.982%22%20x%3D%22826.929%22%20y%3D%22702.309%22%20fill%3D%22%23fff%22%20stroke%3D%22%2306c%22%2F%3E%3Cg%3E%3Cpath%20d%3D%22M831.194%20698.791h5.234v5.391l-1.571%201.545-1.31-1.31-2.725%202.725-2.689-2.689%202.808-2.808-1.311-1.311z%22%20fill%3D%22%2306f%22%2F%3E%3Cpath%20d%3D%22M835.424%20699.795l.022%204.885-1.817-1.817-2.881%202.881-1.228-1.228%202.881-2.881-1.851-1.851z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E")
+}
diff --git a/style/main.less b/style/main.less
index 5bf3bf6..1b5088c 100644
--- a/style/main.less
+++ b/style/main.less
@@ -28,6 +28,9 @@ header {
@import "menu.less";
+/* Mark external links */
+@import "links.less";
+
/* main content */
main {
margin: auto;