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.

115 lines
1.8 KiB

10 years ago
10 years ago
  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. Web Fonts
  19. *******************************/
  20. .loadFonts() when (@useGoogleFonts) {
  21. @import (css) 'http://fonts.googleapis.com/css?family=@{googleFontName}:@{googleFontSizes}';
  22. }
  23. .loadFonts();
  24. /*******************************
  25. Page
  26. *******************************/
  27. /* UI requires Border-Box */
  28. *,
  29. *:before,
  30. *:after {
  31. box-sizing: border-box;
  32. }
  33. html,
  34. body {
  35. height: 100%;
  36. font-smoothing: @fontSmoothing;
  37. }
  38. body {
  39. margin: 0px;
  40. padding: 0px;
  41. min-width: @pageMinWidth;
  42. background: @pageBackground;
  43. font-family: @pageFont;
  44. font-size: @fontSize;
  45. line-height: @lineHeight;
  46. color: @textColor;
  47. }
  48. /*******************************
  49. Text
  50. *******************************/
  51. h1,
  52. h2,
  53. h3,
  54. h4,
  55. h5 {
  56. margin: @headerMargin;
  57. padding: 0em;
  58. }
  59. p {
  60. margin: @paragraphMargin;
  61. }
  62. p:first-child {
  63. margin-top: 0em;
  64. }
  65. p:last-child {
  66. margin-bottom: 0em;
  67. }
  68. /*-------------------
  69. Links
  70. --------------------*/
  71. a {
  72. color: @linkColor;
  73. text-decoration: @linkUnderline;
  74. }
  75. a:hover {
  76. color: @linkHoverColor;
  77. }
  78. /*******************************
  79. Highlighting
  80. *******************************/
  81. ::-webkit-selection {
  82. background-color: @highlightBackground;
  83. color: @highlightColor;
  84. }
  85. ::-moz-selection {
  86. background-color: @highlightBackground;
  87. color: @highlightColor;
  88. }
  89. ::selection {
  90. background-color: @highlightBackground;
  91. color: @highlightColor;
  92. }
  93. .loadUIOverrides();