_widgets.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. .widget {
  2. margin: 0 0 2.4em;
  3. /* Make sure select elements fit in widgets. */
  4. select {
  5. max-width: 100%;
  6. }
  7. a {
  8. text-decoration: none;
  9. }
  10. div > ul,
  11. & > ul {
  12. margin: 0;
  13. padding: 0;
  14. li {
  15. list-style: none;
  16. border-top: 1px solid $color__border-button;
  17. margin: .8em 0 0;
  18. padding: .8em 0 0;
  19. }
  20. & > li:first-of-type {
  21. border-top: 0;
  22. margin-top: 0;
  23. padding-top: 0;
  24. }
  25. }
  26. div > ol,
  27. & > ol {
  28. list-style-position: inside;
  29. margin: 0;
  30. padding: 0;
  31. li {
  32. border-top: 1px solid $color__border-button;
  33. margin: .8em 0 0;
  34. padding: .8em 0 0;
  35. }
  36. & > li:first-of-type {
  37. border-top: 0;
  38. margin-top: 0;
  39. padding-top: 0;
  40. }
  41. }
  42. }
  43. .widget-title {
  44. @include font-size(1);
  45. font-family: $font__headings;
  46. font-style: normal;
  47. margin-top: 0;
  48. margin-bottom: .8em;
  49. padding-bottom: .8em;
  50. border-bottom: 1px solid $color__border-button;
  51. text-align: center;
  52. font-weight: bold;
  53. text-transform: uppercase;
  54. letter-spacing: 1px;
  55. }
  56. #secondary .widget {
  57. padding: 1.6em;
  58. border: 3px solid lighten( $color__border-button, 4 );
  59. @include font-size(.825);
  60. }
  61. .footer-widgets {
  62. background-color: $color__text-main;
  63. color: $color__border-button;
  64. padding: 3.2em 0;
  65. width: 100%;
  66. .widget {
  67. div ul li,
  68. & > ul li {
  69. border-color: rgba(white,0.1);
  70. }
  71. }
  72. .widget_calendar {
  73. td,
  74. th {
  75. border-color: rgba(255,255,255,0.1);
  76. }
  77. }
  78. .widget-title {
  79. color: $color__border-button;
  80. border-color: rgba(white,0.1);
  81. }
  82. .widget-area {
  83. float: left;
  84. width: 100%;
  85. }
  86. }
  87. /* Specific widgets */
  88. .widget_rss {
  89. a {
  90. font-weight: bold;
  91. }
  92. .rss-date {
  93. clear: both;
  94. display: block;
  95. font-style: italic;
  96. margin: 0 0 .4em;
  97. }
  98. }
  99. .widget_calendar {
  100. td, th {
  101. text-align: center;
  102. }
  103. td#next {
  104. text-align: right;
  105. }
  106. td#prev {
  107. text-align: left;
  108. }
  109. }
  110. .widget_search {
  111. .search-field {
  112. width: 100%;
  113. }
  114. .search-submit {
  115. display: none;
  116. }
  117. }
  118. .textwidget {
  119. word-wrap: break-word;
  120. }