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.

116 lines
1.8 KiB

10 years ago
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. overflow-x: @pageOverflowX;
  48. }
  49. /*******************************
  50. Text
  51. *******************************/
  52. h1,
  53. h2,
  54. h3,
  55. h4,
  56. h5 {
  57. margin: @headerMargin;
  58. padding: 0em;
  59. }
  60. p {
  61. margin: @paragraphMargin;
  62. }
  63. p:first-child {
  64. margin-top: 0em;
  65. }
  66. p:last-child {
  67. margin-bottom: 0em;
  68. }
  69. /*-------------------
  70. Links
  71. --------------------*/
  72. a {
  73. color: @linkColor;
  74. text-decoration: @linkUnderline;
  75. }
  76. a:hover {
  77. color: @linkHoverColor;
  78. }
  79. /*******************************
  80. Highlighting
  81. *******************************/
  82. ::-webkit-selection {
  83. background-color: @highlightBackground;
  84. color: @highlightColor;
  85. }
  86. ::-moz-selection {
  87. background-color: @highlightBackground;
  88. color: @highlightColor;
  89. }
  90. ::selection {
  91. background-color: @highlightBackground;
  92. color: @highlightColor;
  93. }
  94. .loadUIOverrides();