_main.scss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. body {
  2. padding-top: 56px;
  3. }
  4. .block-link {
  5. &:hover {
  6. text-decoration: none;
  7. }
  8. }
  9. .stat {
  10. font-size: 2.5rem;
  11. line-height: 1;
  12. }
  13. .w-auto {
  14. width: auto;
  15. }
  16. .navbar .nav-link {
  17. font-weight: 500;
  18. text-transform: uppercase;
  19. }
  20. .badge-lg {
  21. font-size: 100%;
  22. }
  23. .img-cover {
  24. background-size: cover;
  25. background-repeat: no-repeat;
  26. background-position: center center;
  27. }
  28. .img-contain {
  29. background-size: contain;
  30. background-repeat: no-repeat;
  31. background-position: center center;
  32. }
  33. .carousel-item {
  34. img {
  35. min-height: 300px;
  36. background-size: cover;
  37. background-position: center center;
  38. background-repeat: no-repeat;
  39. }
  40. }
  41. .carousel-caption {
  42. bottom: 32px;
  43. h5 {
  44. font-weight: 300;
  45. font-size: 1.5rem;
  46. margin-bottom: 0;
  47. }
  48. @media screen and (min-width: 992px) {
  49. h5 {
  50. font-size: 2rem;
  51. }
  52. }
  53. .carousel-caption-inner {
  54. background: white;
  55. color: $brand-color;
  56. padding: 1rem 2rem;
  57. }
  58. }
  59. .breadcrumb-nav {
  60. position: sticky;
  61. top: 56px;
  62. z-index: 100;
  63. }
  64. ol.breadcrumb {
  65. border-radius: 0;
  66. li {
  67. font-size: 90%;
  68. }
  69. }
  70. .limit-height-1 {
  71. max-height: 256px;
  72. overflow: auto;
  73. }
  74. .limit-height-2 {
  75. max-height: 512px;
  76. overflow: auto;
  77. }
  78. input[required], select[required], textarea[required] {
  79. background-image: url(/img/bg_required.png);
  80. background-position: center right;
  81. background-repeat: no-repeat;
  82. }