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.

102 lines
1.5 KiB

  1. /*
  2. * # Semantic - Site
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  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. }
  31. body {
  32. background: @bodyBackground;
  33. font-family: @pageFont;
  34. margin: 0px;
  35. padding: 0px;
  36. color: @textColor;
  37. min-width: 320px;
  38. }
  39. /*******************************
  40. Text
  41. *******************************/
  42. h1,
  43. h2,
  44. h3,
  45. h4,
  46. h5 {
  47. margin: 1em 0em 1rem;
  48. padding: 0em;
  49. }
  50. p {
  51. margin: @paragraphMargin;
  52. }
  53. p:first-child {
  54. margin-top: 0em;
  55. }
  56. p:last-child {
  57. margin-bottom: 0em;
  58. }
  59. /*-------------------
  60. Links
  61. --------------------*/
  62. a {
  63. color: @linkColor;
  64. text-decoration: @linkUnderline;
  65. }
  66. a:hover {
  67. color: @linkHoverColor;
  68. }
  69. /*******************************
  70. Highlighting
  71. *******************************/
  72. ::-webkit-selection {
  73. background-color: @highlightBackground;
  74. color: @highlightColor;
  75. }
  76. ::-moz-selection {
  77. background-color: @highlightBackground;
  78. color: @highlightColor;
  79. }
  80. ::selection {
  81. background-color: @highlightBackground;
  82. color: @highlightColor;
  83. }
  84. .loadUIOverrides();