styles.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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. opacity: 0.8;
  134. }
  135. .grid-products .card-product .card-title {
  136. font-size: 1rem;
  137. }
  138. .grid-products .card-product .card-text {
  139. font-size: 0.7rem;
  140. }
  141. .grid-products .card-product .card-footer {
  142. padding-top: 0;
  143. border-radius: 0;
  144. border-top: 0;
  145. background: transparent;
  146. padding-bottom: 1.25rem;
  147. }
  148. .grid-products .card-product .price {
  149. font-weight: bold;
  150. }
  151. .grid-products .card-product .btn {
  152. float: right;
  153. }
  154. .product-full .price {
  155. display: inline-block;
  156. vertical-align: middle;
  157. }
  158. .product-full .btn-buy {
  159. display: inline-block;
  160. vertical-align: middle;
  161. }
  162. .product-full .product-description {
  163. font-size: 1rem;
  164. }
  165. .product-full .product-description p:last-child {
  166. margin-bottom: 0px;
  167. }
  168. .table-specifications .tcol-1,
  169. .table-specifications .tcol-2 {
  170. width: 100%;
  171. display: block;
  172. }
  173. .table-specifications .tcol-1 {
  174. font-weight: bold;
  175. border-bottom: none;
  176. padding-bottom: 0px;
  177. }
  178. .table-specifications .tcol-2 {
  179. border-top: none;
  180. padding-top: 0px;
  181. }
  182. @media (min-width: 768px) {
  183. .table-specifications .tcol-1,
  184. .table-specifications .tcol-2 {
  185. width: 50%;
  186. display: table-cell;
  187. font-weight: normal;
  188. border: 1px solid #dee2e6;
  189. padding: .75rem;
  190. }
  191. }
  192. @media (min-width: 992px) {
  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: 1200px) {
  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. }