styles.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. /* Fix bootstrap */
  2. @media (max-width: 991.98px) {
  3. .navbar-expand-lg>.container,
  4. .navbar-expand-lg>.container-fluid {
  5. padding-right: 15px;
  6. padding-left: 15px;
  7. }
  8. }
  9. @media (max-width: 575px) {
  10. .navbar-expand-lg>.container,
  11. .navbar-expand-lg>.container-fluid {
  12. padding-right: 0px;
  13. padding-left: 0px;
  14. }
  15. }
  16. @media (min-width: 992px) {
  17. .navbar-expand-lg .navbar-nav {
  18. margin-right: -.5rem;
  19. }
  20. }
  21. /* Set base bootstrap width */
  22. @media (min-width: 1200px) {
  23. .container {
  24. max-width: 1000px;
  25. /*background: red;*/
  26. }
  27. .navbar-expand-lg .navbar-nav {
  28. margin-right: -.5rem;
  29. }
  30. }
  31. /* Base font and colors */
  32. body {
  33. color: #444;
  34. font-size: 1.0rem;
  35. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  36. }
  37. .h1,
  38. .h2,
  39. .h3,
  40. .h4,
  41. .h5,
  42. .h6,
  43. h1,
  44. h2,
  45. h3,
  46. h4,
  47. h5,
  48. h6,
  49. footer {
  50. color: #000;
  51. }
  52. .navbar-brand {
  53. font-weight: bold;
  54. }
  55. h1 {
  56. font-size: 250%;
  57. }
  58. /* Nice sticky footer */
  59. html,
  60. body {
  61. height: 100%;
  62. }
  63. #wrap {
  64. min-height: 100%;
  65. }
  66. #main {
  67. overflow: auto;
  68. padding-bottom: 4.5rem;
  69. }
  70. footer {
  71. position: relative;
  72. margin-top: -4.5rem;
  73. height: 4.5rem;
  74. clear: both;
  75. }
  76. /* Sticky top nav bar, body class "fixed-top-bar" */
  77. .fixed-top-bar .navbar {
  78. position: fixed;
  79. top: 0;
  80. right: 0;
  81. left: 0;
  82. z-index: 1030;
  83. }
  84. .fixed-top-bar #main {
  85. padding-top: 3.5rem;
  86. }
  87. /* Fave background */
  88. .bg-fave {
  89. background: #205081 url(/assets/sys/bg.png) repeat 0 0;
  90. }
  91. /* Fix content marging */
  92. .page-content p:last-child {
  93. margin-bottom: 0px;
  94. }
  95. /* Borders */
  96. .navbar {
  97. border-bottom: 1px solid rgba(0, 0, 0, .125);
  98. }
  99. footer {
  100. border-top: 1px solid rgba(0, 0, 0, .125);
  101. }
  102. /* Shop */
  103. .grid-products {
  104. display: flex;
  105. flex-flow: row wrap;
  106. padding-top: 1px;
  107. padding-left: 1px;
  108. margin-right: -4px;
  109. }
  110. .grid-products .card-product {
  111. width: 100%;
  112. border-radius: 0;
  113. margin-top: -1px;
  114. margin-left: -1px;
  115. }
  116. @media (min-width: 768px) { .grid-products .card-product { width: 50%; } }
  117. @media (min-width: 992px) { .grid-products .card-product { width: 33.33333%; } }
  118. @media (min-width: 1200px) { .grid-products .card-product { width: 33.33333%; } }
  119. .grid-products .card-product:hover {
  120. background-color: #f2f4f6;
  121. }
  122. .grid-products .card-product .card-img-link {
  123. display: block;
  124. padding: 1.25rem;
  125. padding-bottom: 0;
  126. }
  127. .grid-products .card-product .card-img-link img {
  128. display: block;
  129. border-radius: 0;
  130. }
  131. .grid-products .card-product .card-title {
  132. font-size: 1rem;
  133. }
  134. .grid-products .card-product .card-text {
  135. font-size: 0.7rem;
  136. }
  137. .grid-products .card-product .card-footer {
  138. padding-top: 0;
  139. border-radius: 0;
  140. border-top: 0;
  141. background: transparent;
  142. padding-bottom: 1.25rem;
  143. }
  144. .grid-products .card-product .price {
  145. font-weight: bold;
  146. }
  147. .grid-products .card-product .btn {
  148. float: right;
  149. }
  150. .product-full .price {
  151. display: inline-block;
  152. vertical-align: middle;
  153. }
  154. .product-full .btn-buy {
  155. display: inline-block;
  156. vertical-align: middle;
  157. }
  158. .product-full .product-description {
  159. font-size: 1rem;
  160. }
  161. .product-full .product-description p:last-child {
  162. margin-bottom: 0px;
  163. }
  164. .product-full .thumbnails {
  165. padding: 2px;
  166. }
  167. .product-full .thumbnails .thumbnail {
  168. width: 16.666666667%;
  169. padding: 2px;
  170. }
  171. .product-full .thumbnails .thumbnail-hidden {
  172. display: none;
  173. }
  174. .product-full .thumbnails .thumbnail img {
  175. width: 100%;
  176. border-radius: 4px;
  177. }
  178. .table-specifications .tcol-1,
  179. .table-specifications .tcol-2 {
  180. width: 100%;
  181. display: block;
  182. }
  183. .table-specifications .tcol-1 {
  184. font-weight: bold;
  185. border-bottom: none;
  186. padding-bottom: 0px;
  187. }
  188. .table-specifications .tcol-2 {
  189. border-top: none;
  190. padding-top: 0px;
  191. }
  192. @media (min-width: 768px) {
  193. .table-specifications .tcol-1,
  194. .table-specifications .tcol-2 {
  195. width: 50%;
  196. display: table-cell;
  197. font-weight: normal;
  198. border: 1px solid #dee2e6;
  199. padding: .75rem;
  200. }
  201. }
  202. @media (min-width: 992px) {
  203. .table-specifications .tcol-1,
  204. .table-specifications .tcol-2 {
  205. width: 50%;
  206. display: table-cell;
  207. font-weight: normal;
  208. border: 1px solid #dee2e6;
  209. padding: .75rem;
  210. }
  211. }
  212. @media (min-width: 1200px) {
  213. .table-specifications .tcol-1,
  214. .table-specifications .tcol-2 {
  215. width: 50%;
  216. display: table-cell;
  217. font-weight: normal;
  218. border: 1px solid #dee2e6;
  219. padding: .75rem;
  220. }
  221. }
  222. .fixed-top-bar .navbar.navbar-cats {
  223. position: static;
  224. }