styles.css 4.2 KB

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