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.

103 lines
1.5 KiB

  1. /*
  2. * # Semantic - Site
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributor
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. @type : 'global';
  15. @element : 'site';
  16. @import '../../semantic.config';
  17. /*******************************
  18. Page
  19. *******************************/
  20. /* UI requires Border-Box */
  21. *,
  22. *:before,
  23. *:after {
  24. box-sizing: border-box;
  25. }
  26. html,
  27. body {
  28. font-size: @fontSize;
  29. height: 100%;
  30. font-smoothing: @fontSmoothing;
  31. }
  32. body {
  33. background: @bodyBackground;
  34. font-family: @pageFont;
  35. margin: 0px;
  36. padding: 0px;
  37. color: @textColor;
  38. min-width: 320px;
  39. }
  40. /*******************************
  41. Text
  42. *******************************/
  43. h1,
  44. h2,
  45. h3,
  46. h4,
  47. h5 {
  48. margin: @headerMargin;
  49. padding: 0em;
  50. }
  51. p {
  52. margin: @paragraphMargin;
  53. }
  54. p:first-child {
  55. margin-top: 0em;
  56. }
  57. p:last-child {
  58. margin-bottom: 0em;
  59. }
  60. /*-------------------
  61. Links
  62. --------------------*/
  63. a {
  64. color: @linkColor;
  65. text-decoration: @linkUnderline;
  66. }
  67. a:hover {
  68. color: @linkHoverColor;
  69. }
  70. /*******************************
  71. Highlighting
  72. *******************************/
  73. ::-webkit-selection {
  74. background-color: @highlightBackground;
  75. color: @highlightColor;
  76. }
  77. ::-moz-selection {
  78. background-color: @highlightBackground;
  79. color: @highlightColor;
  80. }
  81. ::selection {
  82. background-color: @highlightBackground;
  83. color: @highlightColor;
  84. }
  85. .loadUIOverrides();