Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/blankoworld/hugo_theme_adam_eve.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier DOSSMANN <git@dossmann.net>2017-06-25 18:52:06 +0300
committerOlivier DOSSMANN <git@dossmann.net>2017-06-25 19:14:24 +0300
commit20f06af00c3d61fc79cfb02f06ffcfd09ce56b33 (patch)
tree5f0b222ec4b3cecf380e2fae50cc0d4aa0907e9e
parent9ec71320a4c6a5e6f01232de112feb69d634104d (diff)
By default, all main links are green (as internal one)
-rw-r--r--README.md24
-rw-r--r--static/css/main.css2
2 files changed, 25 insertions, 1 deletions
diff --git a/README.md b/README.md
index ebf8ba0..8ee767f 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,30 @@ So I only give some elements so that you can create a Wiki.
After that, you need to dress it with more CSS.
+# Link behaviour in content
+
+For more information about shortcodes, check [Shortcode section](#shortcodes).
+
+## Behaviour 1 (default): all links are internal one and you will use external shortcode
+
+By default all links are blue (table of contents, menu, etc.). And all links from the content are green (as internal one).
+
+This mean you will probably use 'external' shortcode for external links.
+
+Indeed you can use 'internal' shortcode too. But all links from main content is green by default.
+
+## Behaviour 2: all links are normal and you will use internal and external shortcode to define all links
+
+If you want to consider all links as normal, and want to define yourself which link is external, which other one is internal, you need to comment these line in **static/css/main.css**:
+
+```
+main a:active, main a:link, main a:visited, main a:hover {
+ color: #080; // comment this line if you planned to use 'internal' shortcode
+}
+```
+
+Add **//** at the beginning of each line will be enough.
+
# Shortcodes
To use wiki functionnalities, I create some shortcodes.
diff --git a/static/css/main.css b/static/css/main.css
index 23faf2e..70b1cd3 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -4,7 +4,7 @@ a:active, a:link, a:visited, a:hover {
}
main a:active, main a:link, main a:visited, main a:hover {
- color: #080;
+ color: #080; // comment this line if you planned to use 'internal' shortcode
}
span.nolink {