The LM Control website. Simple yet efficient.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.css 5.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. :root {
  2. --lm-color: #309d66;
  3. --card-height: 550px;
  4. --cool-looking-gradient: linear-gradient(to right, #3ad559 0%, #606dc2 100%);
  5. }
  6. html, body {
  7. font-size: 13.5pt;
  8. font-family: 'Roboto', sans-serif;
  9. margin: 0;
  10. height: 100%;
  11. background-color: #dfdfdf;
  12. }
  13. nav {
  14. display: flex;
  15. flex-direction: row;
  16. justify-content: start;
  17. height: 100px;
  18. width: 100%;
  19. border-bottom: 1px solid rgba(255,255,255,.15);
  20. font-size: 22px;
  21. user-select: none;
  22. z-index: 1;
  23. background: rgba(0,0,0,.6);
  24. box-shadow: inset 0 -2px 5px rgba(0,0,0,.5);
  25. }
  26. nav .logo {
  27. height: 100%;
  28. width: 300px;
  29. margin-left: 40px;
  30. }
  31. nav .links {
  32. margin-left: auto;
  33. margin-right: 60px;
  34. display: flex;
  35. flex-direction: row;
  36. justify-content: space-between;
  37. width: 400px;
  38. }
  39. nav .links a {
  40. font-size: 18px;
  41. font-weight: 700;
  42. letter-spacing: normal;
  43. line-height: 100px;
  44. text-align: center;
  45. color: #ffffff;
  46. text-decoration: none;
  47. transition: color 100ms;
  48. position: relative;
  49. }
  50. nav .links a:before, a:after {
  51. content: "";
  52. position: absolute;
  53. bottom: 2px;
  54. left: 0;
  55. right: 0;
  56. height: 2px;
  57. background-color: #7df372;
  58. }
  59. nav .links a:before {
  60. opacity: 0;
  61. transform: translateY(-8px);
  62. transition: transform 0s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0s;
  63. }
  64. nav .links a:after {
  65. opacity: 0;
  66. transform: translateY(4px);
  67. transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
  68. }
  69. nav .links a:hover:before, a:hover:after, a:focus:before, a:focus:after {
  70. opacity: 1;
  71. transform: translateY(0);
  72. }
  73. nav .links a:hover:before, a:focus:before {
  74. transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
  75. }
  76. nav .links a:hover:after, a:focus:after {
  77. transition: transform 0s 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0s 0.2s;
  78. }
  79. #wrapper{
  80. height: 100%;
  81. width: 100%;
  82. display: flex;
  83. overflow: auto;
  84. flex-direction: column;
  85. }
  86. #banner {
  87. flex-shrink: 0;
  88. display: flex;
  89. flex-direction: column;
  90. height: 550px;
  91. width: 100%;
  92. background-image: url('../imgs/22.JPG');
  93. background-repeat: no-repeat;
  94. background-position: 0 -295px;
  95. background-size: 100% auto;
  96. }
  97. .banner-container{
  98. display: flex;
  99. height: 240px;
  100. margin: auto 0 auto 0;
  101. flex-direction: column;
  102. justify-content: center;
  103. margin-left: 200px;
  104. width: 650px;
  105. color: rgb(255, 255, 255);
  106. font-family: 'Source Sans Pro', sans-serif;
  107. border-style: solid;
  108. border-color: #ffffff;
  109. border-left-width: 0;
  110. border-right-width: 0;
  111. border-top-width: 1px;
  112. border-bottom-width: 1px;
  113. padding: 20px;
  114. background: rgba(0,0,0,.6);
  115. box-shadow: inset 0 -2px 5px rgba(0,0,0,.33);
  116. }
  117. .banner-container .header{
  118. font-size: 15px;
  119. }
  120. .banner-container .title{
  121. font-size: 40px;
  122. font-weight: 500;
  123. }
  124. .banner-container .buttons{
  125. display: flex;
  126. flex-direction: row;
  127. font-size: 40px;
  128. font-weight: 500;
  129. align-self: flex-end;
  130. }
  131. .banner-container button {
  132. font-family: inherit;
  133. border: none;
  134. margin: 0 0 0 5px;
  135. text-decoration: none;
  136. background: none;
  137. color: #ffffff;
  138. font-size: 25px;
  139. cursor: pointer;
  140. text-align: center;
  141. line-height: 1.1;
  142. transition: 220ms all ease-in-out;
  143. border-style: solid;
  144. border-color: #717171;
  145. border-width: 1px;
  146. padding: 0.25em 0.75em;
  147. min-width: 10ch;
  148. min-height: 44px;
  149. }
  150. .banner-container button.highlight{
  151. background: #309d6691;
  152. }
  153. .banner-container button:hover,
  154. .banner-container button:focus {
  155. background: var(--lm-color);
  156. }
  157. .banner-container button:focus {
  158. outline: 1px solid #fff;
  159. outline-offset: -4px;
  160. }
  161. .banner-container button:active {
  162. transform: scale(0.99);
  163. }
  164. .container{
  165. flex-shrink: 0;
  166. width: 100%;
  167. display: flex;
  168. flex-direction: column;
  169. justify-content: center;
  170. align-items: center;
  171. }
  172. .info-cards{
  173. max-width: 1280px;
  174. min-height: 500px;
  175. background: #f9f9f9;
  176. margin-top: -50px;
  177. display: flex;
  178. flex-direction: row;
  179. border-radius: 5px;
  180. }
  181. .card{
  182. flex-shrink: 0;
  183. flex-grow: 1;
  184. display: flex;
  185. flex-direction: column;
  186. width: 318px;
  187. align-items: center;
  188. }
  189. .card.boarder{
  190. border-right-style: solid;
  191. border-color: #d9d9d9;
  192. border-width: 1px;
  193. }
  194. .card .icon {
  195. flex-shrink: 0;
  196. color: var(--lm-color);
  197. color: rgb(255, 118, 7);
  198. margin-top: 50px;
  199. width: 70px;
  200. height: 70px;
  201. stroke: currentColor;
  202. stroke-width: 1;
  203. stroke-linecap: round;
  204. stroke-linejoin: round;
  205. fill: none;
  206. }
  207. .card .title{
  208. flex-shrink: 0;
  209. font-family: "Rubik", sans-serif;
  210. font-size: 21px;
  211. font-weight: 500;
  212. color: rgb(27, 26, 26);
  213. }
  214. .card p {
  215. font-family: "Roboto", sans-serif;
  216. font-weight: 400;
  217. color: rgb(81, 80, 80);
  218. margin: 20px;
  219. font-size: 14px;
  220. word-wrap: normal;
  221. line-height: 24px;
  222. text-align: center;
  223. }
  224. .coolLookingBox {
  225. background-color: #f5f5f5;
  226. background-image: linear-gradient(to bottom,#ffffff,#e6e6e6);
  227. background-repeat: repeat-x;
  228. border: 1px solid #cccccc;
  229. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  230. border-color: rgba(0, 0, 0, 0.1)
  231. rgba(0, 0, 0, 0.1)
  232. rgba(0, 0, 0, 0.25);
  233. border-bottom-color: #b3b3b3;
  234. border-radius: 4px;
  235. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
  236. 0 1px 2px rgba(0, 0, 0, 0.05);
  237. color: #333;
  238. display: block;
  239. font-size: 125%;
  240. font-style: normal;
  241. line-height: 20px;
  242. margin: 20px 0 0;
  243. padding: 10px 20px;
  244. text-align: center;
  245. text-decoration: none;
  246. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  247. }
  248. .coolLookingBox.mobile:before {
  249. content: 'Mobile: ';
  250. font-weight: bold;
  251. }
  252. .coolLookingBox.landline:before {
  253. content: 'Landline: ';
  254. font-weight: bold;
  255. }
  256. .coolLookingBox.email:before {
  257. content: 'E-Mail: ';
  258. font-weight: bold;
  259. }
  260. #map {
  261. height: 450px;
  262. width: 100%;
  263. margin: auto;
  264. }
  265. @media screen and (max-width: 1200px) {
  266. nav .blank {
  267. display: none;
  268. }
  269. }
  270. @media screen and (max-width: 1000px) {
  271. #content #banner #quickInfo{
  272. display: none;
  273. }
  274. }
  275. @media screen and (max-width: 730px) {
  276. nav {
  277. height: auto;
  278. flex-direction: column;
  279. position: relative;
  280. }
  281. nav .logo {
  282. margin: auto;
  283. background-position: center;
  284. height: 65px;
  285. }
  286. nav .blank {
  287. display: none;
  288. }
  289. }
  290. @media screen and (max-width: 320px) {
  291. nav .links {
  292. flex-direction: column;
  293. }
  294. }