Skip to content

Commit

Permalink
Fix double underline on abbreviations and extract into a shared file
Browse files Browse the repository at this point in the history
  • Loading branch information
astorije committed Sep 19, 2018
1 parent ff8bef5 commit 8cefbea
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ and thank him very much for his work!
Enjoy The Lounge, and make sure to join us on our **official Freenode channel
`#thelounge`**!

*[IRC]: Internet Relay Chat
{% include abbreviations.md %}
2 changes: 2 additions & 0 deletions _guides/authoring-themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ module.exports = {
}
};
```

{% include abbreviations.md %}
2 changes: 2 additions & 0 deletions _guides/custom-css.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,3 +270,5 @@ div.preview[data-url*="github.com"] {
white-space: initial;
}
```

{% include abbreviations.md %}
5 changes: 1 addition & 4 deletions _guides/upgrade-to-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,4 @@ In addition to the items listed in this guide, you may want to enable or configu
- To navigate through windows in the channel list from your keyboard, you must now use <kbd>alt</kbd>+<kbd>↓</kbd> / <kbd>alt</kbd>+<kbd>↑</kbd> in lieu of <kbd>ctrl</kbd>+<kbd>↓</kbd> / <kbd>ctrl</kbd>+<kbd>↑</kbd>, more often used in other chat clients.
- We have updated our build pipeline to better reflect our browser support. The Lounge now supports [browsers released less than a year ago](http://browserl.ist/?q=last+1+year%2C+firefox+esr) (and [Firefox ESR](https://www.mozilla.org/en-US/firefox/organizations/)), while we used to support the [last 2 versions of all browsers](http://browserl.ist/?q=last+2+versions). In practice, this drops support for some of the least used browsers on mobile (QQ browser, UC browser, Android Browser, Baidu Browser, Blackberry Browser, IE Mobile, Opera Mini, and Opera Mobile), and IE 10/11 on desktop. It however gives slightly more support flexibility for earlier versions of Chrome (62+), Firefox (56+ and ESR), and Opera (48+).

*[CLI]: Command Line Interface
*[ESR]: Extended Support Release
*[LTS]: Long-Term Support
*[TLS]: Transport Layer Security
{% include abbreviations.md %}
2 changes: 2 additions & 0 deletions _guides/url-overrides.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ When using the comma-separated `join` or `channels` keys, alphanumeric sequences
`#foo`.<br>
If you need to explicitly use a `#` character, you must use `%23` instead. For example, `?join=%23%23bar` fills the form field with `##bar`.<br>
Similarly, you must use `%26` for `&`-prefixed channels.

{% include abbreviations.md %}
7 changes: 7 additions & 0 deletions _includes/abbreviations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*[CSS]: Cascading Style Sheets
*[CLI]: Command Line Interface
*[ESR]: Extended Support Release
*[IRC]: Internet Relay Chat
*[LTS]: Long-Term Support
*[TLS]: Transport Layer Security
*[URL]: Uniform Resource Locator
9 changes: 8 additions & 1 deletion css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,15 @@ a:active,
a:hover {
outline: 0;
}
/**
* From Normalize. See https://github.com/thelounge/lounge/pull/1217
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: 1px dotted;
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
}
b,
strong {
Expand Down

0 comments on commit 8cefbea

Please sign in to comment.