_links.css 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /**
  2. * This file provides styles for all types of links.
  3. */
  4. /*____________ links to wiki pages ____________*/
  5. /* existing wikipage */
  6. .dokuwiki a.wikilink1 {
  7. }
  8. /* not existing wikipage */
  9. .dokuwiki a.wikilink2 {
  10. text-decoration: none;
  11. }
  12. .dokuwiki a.wikilink2:link,
  13. .dokuwiki a.wikilink2:visited {
  14. border-bottom: 1px dashed;
  15. }
  16. .dokuwiki a.wikilink2:hover,
  17. .dokuwiki a.wikilink2:active,
  18. .dokuwiki a.wikilink2:focus {
  19. border-bottom-width: 0;
  20. }
  21. /* any link to current page */
  22. .dokuwiki span.curid a {
  23. font-weight: bold;
  24. }
  25. /*____________ other link types ____________*/
  26. .dokuwiki a.urlextern,
  27. .dokuwiki a.windows,
  28. .dokuwiki a.mail,
  29. .dokuwiki a.mediafile,
  30. .dokuwiki a.interwiki {
  31. background-size: 1.2em;
  32. background-repeat: no-repeat;
  33. background-position: 0 center;
  34. padding: 0 0 0 1.4em;
  35. }
  36. /* external link */
  37. .dokuwiki a.urlextern {
  38. background-image: url(../../images/external-link.svg);
  39. }
  40. /* windows share */
  41. .dokuwiki a.windows {
  42. background-image: url(../../images/unc.svg);
  43. }
  44. /* email link */
  45. .dokuwiki a.mail {
  46. background-image: url(../../images/email.svg);
  47. }
  48. /* icons of the following are set by dokuwiki in lib/exe/css.php */
  49. /* link to some embedded media */
  50. .dokuwiki a.mediafile {
  51. }
  52. /* interwiki link */
  53. .dokuwiki a.interwiki {
  54. }
  55. /* RTL corrections; if link icons don't work as expected, remove the following lines */
  56. [dir=rtl] .dokuwiki a.urlextern,
  57. [dir=rtl] .dokuwiki a.windows,
  58. [dir=rtl] .dokuwiki a.mail,
  59. [dir=rtl] .dokuwiki a.interwiki,
  60. [dir=rtl] .dokuwiki a.mediafile {
  61. background-position: right center;
  62. padding: 0 18px 0 0;
  63. }