You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

100 lines
1.9 KiB

  1. /*!
  2. * DokuWiki Bootstrap3 Template: style.ini / Styling Plugin support
  3. *
  4. * Home http://dokuwiki.org/template:bootstrap3
  5. * Author Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
  6. * License GPL 2 (http://www.gnu.org/licenses/gpl.html)
  7. *
  8. *
  9. * For more information about style.ini and replacements see:
  10. *
  11. * - https://www.dokuwiki.org/devel:style.ini
  12. * - https://www.dokuwiki.org/plugin:styling
  13. */
  14. /* main text and background colors */
  15. .text(@arg) when (iscolor(@arg)) {
  16. color: @arg !important;
  17. }
  18. .background(@arg) when (iscolor(@arg)) {}
  19. /* alternative text and background colors */
  20. .textAlt(@arg) when (iscolor(@arg)) {
  21. color: @arg !important;
  22. }
  23. .backgroundAlt(@arg) when (iscolor(@arg)) {}
  24. /* neutral text and background colors */
  25. .textNeu(@arg) when (iscolor(@arg)) {
  26. color: @arg !important;
  27. }
  28. .backgroundNeu(@arg) when (iscolor(@arg)) {}
  29. /* border color */
  30. .border(@arg) when (iscolor(@arg)) {
  31. border-color: @arg !important;
  32. }
  33. /* highlighted text (e.g. search snippets) */
  34. .highlight(@arg) when (iscolor(@arg)) {
  35. color: @arg !important;
  36. }
  37. .backgroundSite(@arg) when (iscolor(@arg)) {
  38. background-color: @arg !important;
  39. }
  40. /* these are used for links */
  41. .link(@arg) when (iscolor(@arg)) {
  42. color: @arg !important;
  43. }
  44. .existing(@arg) when (iscolor(@arg)) {
  45. color: @arg !important;
  46. }
  47. .missing(@arg) when (iscolor(@arg)) {
  48. color: @arg !important;
  49. }
  50. /**
  51. body {
  52. .backgroundSite(@ini_background_site);
  53. .text(@ini_text);
  54. }
  55. table, th, td, blockquote, pre, hr {
  56. .border(@ini_border);
  57. }
  58. th {
  59. .backgroundAlt(@ini_background_alt);
  60. }
  61. mark {
  62. .highlight(@ini_highlight);
  63. }
  64. pre, code, samp, kbd {
  65. .backgroundSite(@ini_background_site);
  66. .text(@ini_text);
  67. }
  68. fieldset {
  69. .textAlt(@ini_text_alt);
  70. }
  71. a:link, a:visited {
  72. .link(@ini_link);
  73. }
  74. .dokuwiki a.wikilink1 {
  75. .existing(@ini_existing);
  76. }
  77. .dokuwiki a.wikilink2 {
  78. .missing(@ini_missing);
  79. }
  80. */