BCB Bank static website
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

374 строки
5.1 KiB

  1. @import '_colors';
  2. @import 'custom_fonts';
  3. *, *:before, *:after {
  4. -webkit-tap-highlight-color: transparent;
  5. box-sizing: border-box;
  6. }
  7. * {
  8. margin: 0;
  9. padding: 0;
  10. box-sizing: border-box;
  11. }
  12. a {
  13. color: inherit;
  14. text-decoration: none;
  15. }
  16. html, body {
  17. font-family: open-sans;
  18. &.non-scrollable {
  19. overflow: hidden;
  20. }
  21. }
  22. mark {
  23. background-color: transparent;
  24. }
  25. .temp-intro,
  26. #footer {
  27. background-color: $dark_brown;
  28. display: flex;
  29. justify-content: space-between;
  30. padding: 15px 0;
  31. color: $dark_gray;
  32. font-size: $other_size;
  33. .temp-name {
  34. margin-left: 125px;
  35. @media screen and (max-width: 1024px) {
  36. margin-left: 20px;
  37. }
  38. mark {
  39. color: white;
  40. font-weight: bold;
  41. letter-spacing: 0.8px;
  42. }
  43. }
  44. .temp-social {
  45. display: flex;
  46. margin-right: 125px;
  47. @media screen and (max-width: 1024px) {
  48. margin-right: 20px;
  49. }
  50. li {
  51. list-style: none;
  52. align-self: center;
  53. padding: 0 10px;
  54. font-size: 12px;
  55. }
  56. }
  57. small {
  58. font-size: $other_size;
  59. @media screen and (max-width: 1024px) {
  60. display: block;
  61. text-align: center;
  62. padding: 5px 0;
  63. }
  64. &:first-child {
  65. margin-left: 125px;
  66. @media screen and (max-width: 1024px) {
  67. margin: 0;
  68. }
  69. }
  70. &:last-child {
  71. margin-right: 125px;
  72. @media screen and (max-width: 1024px) {
  73. margin: 0;
  74. }
  75. }
  76. mark {
  77. color: $light_gray;
  78. }
  79. }
  80. }
  81. #footer {
  82. @media screen and (max-width: 1024px) {
  83. display: block
  84. }
  85. }
  86. #page-header {
  87. height: $header_height;
  88. position: sticky;
  89. display: flex;
  90. top: 0;
  91. left: 0;
  92. background-color: white;
  93. z-index: 5;
  94. transition: height 500ms linear;
  95. @media screen and (max-width: 1024px) {
  96. height: $header_height_scroll;
  97. }
  98. &.minimize {
  99. height: $header_height_scroll;
  100. padding: 10px 0;
  101. }
  102. .inner-header {
  103. width: 80%;
  104. display: flex;
  105. justify-content: space-between;
  106. margin: 0 auto;
  107. align-self: center;
  108. @media screen and (max-width: 1024px) {
  109. width: 100%;
  110. justify-content: space-around;
  111. }
  112. }
  113. .temp-brand {
  114. display: flex;
  115. align-self: center;
  116. width: 20%;
  117. justify-content: center;
  118. figure {
  119. margin-right: 15px;
  120. img {
  121. width: 100%;
  122. }
  123. }
  124. h1 {
  125. font-size: $heading_size;
  126. align-self: center;
  127. letter-spacing: -0.65px;
  128. font-family: 'Archivo Black', sans-serif;
  129. mark {
  130. color: $blue;
  131. }
  132. }
  133. }
  134. #desktop-navigation-menu {
  135. width: 55%;
  136. align-self: center;
  137. font-size: $paragraph_size;
  138. @media screen and (max-width: 1024px) {
  139. display: none;
  140. }
  141. ul {
  142. display: flex;
  143. justify-content: space-between;
  144. li {
  145. list-style: none;
  146. color: $dark_gray;
  147. &.active {
  148. color: $blue;
  149. }
  150. }
  151. }
  152. }
  153. #mobile-hamburger-menu {
  154. display: none;
  155. position: relative;
  156. height: 25px;
  157. &.active {
  158. .icon-line {
  159. transform: rotate(45deg) translate(2px, 10px);
  160. &:after {
  161. transform: rotate(-95deg) translate(20px, 2px);
  162. }
  163. &:before {
  164. opacity: 0;
  165. }
  166. }
  167. }
  168. @media screen and (max-width: 1024px) {
  169. display: block;
  170. align-self: center;
  171. }
  172. .icon-line {
  173. display: inline-block;
  174. width: 35px;
  175. height: 5px;
  176. background-color: black;
  177. position: absolute;
  178. transition: transform 500ms ease;
  179. &:before,
  180. &:after {
  181. content: '';
  182. display: inline-block;
  183. width: 35px;
  184. height: 5px;
  185. position: absolute;
  186. }
  187. &:before {
  188. top: 200%;
  189. background-color: $blue;
  190. transition: opacity 500ms ease;
  191. }
  192. &:after {
  193. top: 400%;
  194. background-color: black;
  195. transition: transform 500ms ease;
  196. }
  197. }
  198. }
  199. }
  200. #mobile-nav-menu {
  201. display: none;
  202. @media screen and (max-width: 1024px) {
  203. display: block;
  204. height: 0;
  205. overflow: hidden;
  206. position: sticky;
  207. top: 10vh;
  208. z-index: 5;
  209. background-color: white;
  210. transition: height 500ms ease;
  211. &.show {
  212. height: 90vh;
  213. ul {
  214. margin-top: 50px;
  215. }
  216. li {
  217. opacity: 1;
  218. }
  219. }
  220. ul {
  221. li {
  222. list-style: none;
  223. font-size: $heading_size;
  224. text-align: center;
  225. padding: 10px 0;
  226. opacity: 0;
  227. transition: opacity 500ms ease;
  228. }
  229. }
  230. }
  231. }
  232. .temp-contact-info {
  233. background-color: $white_shade;
  234. border-top: 1px solid $light_gray;
  235. color: $brown;
  236. ul {
  237. display: flex;
  238. width: 80%;
  239. margin: 0 auto;
  240. @media screen and (max-width: 1024px) {
  241. width: 100%;
  242. }
  243. .owl-item {
  244. img {
  245. width: 10%;
  246. }
  247. }
  248. li {
  249. list-style: none;
  250. border-left: 2px solid $light_gray;
  251. font-size: $other_size;
  252. display: flex;
  253. justify-content: center;
  254. width: 35%;
  255. padding: 20px 0;
  256. @media screen and (max-width: 1024px) {
  257. width: 40%;
  258. .contact-content {
  259. display: none;
  260. }
  261. img {
  262. width: 35%;
  263. }
  264. &.active {
  265. width: 100%;
  266. img {
  267. width: 10%;
  268. }
  269. .contact-content {
  270. display: block;
  271. }
  272. }
  273. }
  274. &:last-child {
  275. border-right: 2px solid $light_gray;
  276. }
  277. img {
  278. width: 10%;
  279. align-self: center;
  280. @media screen and (max-width: 1024px) {
  281. width: 30%;
  282. }
  283. }
  284. .contact-content {
  285. margin-left: 20px;
  286. color: $dark_gray;
  287. span {
  288. display: block;
  289. &:last-child {
  290. color: $blue;
  291. }
  292. }
  293. a {
  294. display: block;
  295. color: $blue;
  296. }
  297. }
  298. }
  299. }
  300. }