The LM Control website. Simple yet efficient.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

main.css 6.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. @font-face {
  2. font-family: 'oswald';
  3. src: url('../fonts/Oswald-Regular.ttf');
  4. /* ../fonts/SILOpenFontLicense.txt */
  5. }
  6. :root {
  7. --nav-height: 65px;
  8. --cool-looking-gradient: linear-gradient(to right, #3ad559 0%, #606dc2 100%);
  9. }
  10. html, body {
  11. font-size: 13.5pt;
  12. font-family: 'Oswald', sans-serif;
  13. margin: 0;
  14. height: 100%;
  15. background-color: #e6e6e6;
  16. }
  17. nav {
  18. display: flex;
  19. flex-direction: row;
  20. justify-content: center;
  21. position: fixed;
  22. height: var(--nav-height);
  23. background-color: white;
  24. width: 100%;
  25. border-bottom: 5px solid transparent;
  26. border-image: var(--cool-looking-gradient);
  27. border-image-slice: 1;
  28. font-size: 22px;
  29. user-select: none;
  30. z-index: 1;
  31. }
  32. nav .logo {
  33. background-image: url("../imgs/logo.png");
  34. background-repeat: no-repeat;
  35. background-size: auto 100%;
  36. height: 100%;
  37. width: 300px;
  38. margin-right: auto;
  39. }
  40. nav .blank {
  41. width: 300px;
  42. margin-left: auto;
  43. }
  44. nav .links {
  45. display: flex;
  46. flex-direction: row;
  47. justify-content: center;
  48. }
  49. nav .links a {
  50. display: flex;
  51. justify-content: center;
  52. align-items: center;
  53. height: 100%;
  54. margin: auto 10px auto 10px;
  55. text-align: center;
  56. color: #6d6b6b;
  57. text-decoration: none;
  58. transition: color 10ms;
  59. font-weight: 900;
  60. }
  61. nav a:hover {
  62. color: black;
  63. text-shadow: rgba(0, 0, 0, 0.1) 1px 0 5px;
  64. }
  65. footer {
  66. height: 10px;
  67. background-color: rgb(59, 59, 59);
  68. width: 100%;
  69. background-image: var(--cool-looking-gradient);
  70. }
  71. #content {
  72. display: flex;
  73. padding-top: var(--nav-height);
  74. flex-direction: column;
  75. width: 100%;
  76. }
  77. #content #banner {
  78. display: flex;
  79. min-height: 450px;
  80. margin-bottom: 30px;
  81. justify-content: center;
  82. align-items: center;
  83. background-image: url('../imgs/banner.JPG');
  84. background-repeat: no-repeat;
  85. background-position: 0 -150px;
  86. background-size: auto auto;
  87. background-attachment: fixed;
  88. }
  89. #content #banner #bannerTxt {
  90. margin-right: auto;
  91. margin-left: 80px;
  92. width: 500px;
  93. font-size: 30px;
  94. line-height: 1.3;
  95. font-weight: 600;
  96. color: white;
  97. }
  98. #content #banner #quickInfo {
  99. display: flex;
  100. align-items: center;
  101. flex-direction: column;
  102. margin-right: 40px;
  103. margin-left: auto;
  104. width: 320px;
  105. height: 340px;
  106. font-size: 20px;
  107. line-height: 1.15;
  108. font-weight: 600;
  109. color: white;
  110. background-color: #000000a1;
  111. border: 1px solid;
  112. border-image-slice: 1;
  113. border-image-source: linear-gradient(to left, #004abe, #1e6f07);
  114. }
  115. #content #banner #quickInfo span {
  116. align-self: flex-start;
  117. margin-left: 20px;
  118. }
  119. #content #banner #quickInfo span:first-child {
  120. margin-top: 10px;
  121. }
  122. #content #banner #quickInfo p {
  123. padding: 0;
  124. margin: 10px;
  125. }
  126. #content .container {
  127. display: flex;
  128. flex-direction: column;
  129. align-items: center;
  130. text-align: center;
  131. margin-bottom: 20px;
  132. width: 100%;
  133. }
  134. #content .container .row {
  135. display: flex;
  136. flex-wrap: wrap;
  137. justify-content: center;
  138. width: 100%;
  139. }
  140. #content .container .service {
  141. order: 1;
  142. display: flex;
  143. flex-direction: column;
  144. justify-content: center;
  145. margin: 20px;
  146. width: 400px;
  147. height: 255px;
  148. border: solid 1px rgb(94, 94, 94);
  149. transition: transform 40ms;
  150. user-select: none;
  151. cursor: pointer;
  152. }
  153. #content .container .service:hover{
  154. transform: scale(1.1);
  155. }
  156. #content .container .service.active:hover{
  157. transform: scale(1);
  158. }
  159. #content .container .service.active {
  160. order: 0;
  161. width: 100%;
  162. min-height: 500px;
  163. height: auto;
  164. flex-direction: row;
  165. justify-content: start;
  166. }
  167. #content .container .service.active h1 {
  168. display: none;
  169. }
  170. #content .container .service.active .image {
  171. width: 100%;
  172. height: 100%;
  173. background-size: cover;
  174. }
  175. #content .container .service.active .image .discription {
  176. display: flex;
  177. }
  178. #content .container .service h1 {
  179. margin-top: auto;
  180. font-size: 15pt;
  181. width: 100%;
  182. }
  183. #content .container .service .image {
  184. margin-bottom: auto;
  185. height: 200px;
  186. width: 100%;
  187. background-size: 100% auto;
  188. background-repeat: no-repeat;
  189. background-position: 0 0;
  190. }
  191. #content .container .service .image .discription {
  192. display: none;
  193. align-items: center;
  194. justify-content: center;
  195. flex-direction: column;
  196. width: 100%;
  197. height: 100%;
  198. color: white;
  199. background-color: rgba(0, 0, 0, 0.9);
  200. }
  201. #content .container .service .image .discription ul{
  202. text-align: left;
  203. }
  204. #content .container .service .image .discription .contactLink{
  205. color: rgb(130, 253, 137);
  206. text-decoration: none;
  207. font-weight: 900;
  208. font-size: 20px;
  209. }
  210. #content .container .service .image.pc {
  211. background-image: url('../imgs/pc.jpg');
  212. }
  213. #content .container .service .image.pd {
  214. background-image: url('../imgs/pd.jpg');
  215. }
  216. #content .container .service .image.hvac {
  217. background-image: url('../imgs/hvac.jpg');
  218. }
  219. #content .container .service .image.pcs {
  220. background-image: url('../imgs/pcs.jpg');
  221. }
  222. #content .container .contactBox {
  223. display: flex;
  224. flex-direction: row;
  225. justify-content: space-around;
  226. align-items: center;
  227. width: 100%;
  228. padding-top: 20px;
  229. background-image: linear-gradient(to bottom, #ccc, transparent);
  230. font-size: 20px;
  231. font-weight: 600;
  232. }
  233. #content .container .contactBox .infoContainer {
  234. padding-top: 5px;
  235. padding-bottom: 5px;
  236. border-bottom: solid 1px white;
  237. }
  238. .coolLookingBox {
  239. background-color: #f5f5f5;
  240. background-image: linear-gradient(to bottom,#ffffff,#e6e6e6);
  241. background-repeat: repeat-x;
  242. border: 1px solid #cccccc;
  243. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  244. border-color: rgba(0, 0, 0, 0.1)
  245. rgba(0, 0, 0, 0.1)
  246. rgba(0, 0, 0, 0.25);
  247. border-bottom-color: #b3b3b3;
  248. border-radius: 4px;
  249. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
  250. 0 1px 2px rgba(0, 0, 0, 0.05);
  251. color: #333;
  252. display: block;
  253. font-size: 125%;
  254. font-style: normal;
  255. line-height: 20px;
  256. margin: 20px 0 0;
  257. padding: 10px 20px;
  258. text-align: center;
  259. text-decoration: none;
  260. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  261. }
  262. .coolLookingBox.mobile:before {
  263. content: 'Mobile: ';
  264. font-weight: bold;
  265. }
  266. .coolLookingBox.landline:before {
  267. content: 'Landline: ';
  268. font-weight: bold;
  269. }
  270. .coolLookingBox.email:before {
  271. content: 'E-Mail: ';
  272. font-weight: bold;
  273. }
  274. #map {
  275. height: 450px;
  276. width: 100%;
  277. margin: auto;
  278. }
  279. .divider{ /* Thanks Milan! https://codepen.io/Oddgson */
  280. position: relative;
  281. margin-top: 10px;
  282. height: 1px;
  283. }
  284. .div-transparent:before{
  285. content: "";
  286. position: absolute;
  287. top: 0;
  288. left: 5%;
  289. right: 5%;
  290. width: 90%;
  291. height: 2px;
  292. background-image: linear-gradient(to right, transparent, #008cff65, transparent);
  293. }
  294. @media screen and (max-width: 1200px) {
  295. nav .blank {
  296. display: none;
  297. }
  298. }
  299. @media screen and (max-width: 1000px) {
  300. #content #banner #quickInfo{
  301. display: none;
  302. }
  303. }
  304. @media screen and (max-width: 730px) {
  305. nav {
  306. height: auto;
  307. flex-direction: column;
  308. position: relative;
  309. }
  310. nav .logo {
  311. margin: auto;
  312. background-position: center;
  313. height: 65px;
  314. }
  315. nav .blank {
  316. display: none;
  317. }
  318. #content {
  319. padding-top: 0;
  320. }
  321. #content #banner {
  322. justify-content: center;
  323. }
  324. #content #banner #bannerTxt {
  325. margin: 10px;
  326. }
  327. #content .container .contactBox {
  328. flex-direction: column;
  329. }
  330. }
  331. @media screen and (max-width: 320px) {
  332. nav .links {
  333. flex-direction: column;
  334. }
  335. }