1
0

style.css 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  1. /*
  2. Theme Name: AmS 2016
  3. Theme URI: http://architekturmachtschule.de/
  4. Author: Moritz Schmidt
  5. Author URI: https://mmnx.de/
  6. Description: n/a
  7. Version: 1.4
  8. License: GNU General Public License v2 or later
  9. License URI: http://www.gnu.org/licenses/gpl-2.0.html
  10. Tags:
  11. Text Domain: ams2016
  12. */
  13. @font-face {
  14. font-family: 'Special Elite';
  15. font-style: normal;
  16. font-weight: 400;
  17. src: local('Special Elite'), local('SpecialElite-Regular'), url(/dist/SpecialElite.woff2) format('woff2');
  18. unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
  19. }
  20. .carousel-control {
  21. background: none !important;
  22. }
  23. .size-full {
  24. width: 100%;
  25. height: auto;
  26. }
  27. #nav > div > div.clearfix > a {
  28. font-family: 'Special Elite', cursive;
  29. line-height: 2.15rem;
  30. max-width: calc(100% - 60px);
  31. }
  32. .carousel-control .icon-next::before, .carousel-control .icon-prev::before {
  33. content: none;
  34. }
  35. .carousel-control .icon-next .fa-chevron-right:before, .carousel-control .icon-prev .fa-chevron-left:before {
  36. position: absolute;
  37. left: 16px; /* 25 */
  38. top: 9px; /* 18 */
  39. font-size: 2rem; /* 50px */
  40. }
  41. .carousel-control .fa-chevron-right, .carousel-control .fa-chevron-left {
  42. background: #008238;
  43. border-radius: 50%;
  44. padding: 1.5rem; /* 40px */
  45. }
  46. .carousel-control .icon-prev .fa-chevron-left:before {
  47. left: 10px; /* 18 */
  48. }
  49. .carousel-inner > .carousel-item > img {
  50. width: 100%;
  51. }
  52. .carousel-control .icon-prev, .carousel-control .icon-next {
  53. top: 35%;
  54. }
  55. .carousel-control .icon-next {
  56. right: 100%;
  57. }
  58. .carousel {
  59. max-height: 350px;
  60. overflow: hidden;
  61. }
  62. .navbar {
  63. background: #C0C0C0;
  64. position: -webkit-sticky;
  65. position: sticky;
  66. top: 0;
  67. width: 100%;
  68. border-radius: 0;
  69. z-index: 99;
  70. }
  71. .navbar-brand {
  72. font-size: 1.15rem;
  73. }
  74. .beam {
  75. margin-top: 50px;
  76. margin-bottom: 50px;
  77. text-align: center;
  78. font-family: 'Special Elite', cursive;
  79. }
  80. .beam h1 {
  81. font-size: 3rem;
  82. text-align: left;
  83. }
  84. .beam + .container {
  85. font-family: 'Special Elite', cursive;
  86. font-size: 18px;
  87. line-height: 30px;
  88. }
  89. /*.beam > .container > * {
  90. margin: 0;
  91. text-transform: uppercase;
  92. }*/
  93. .beam ~ .beam {
  94. margin-top: 50px;
  95. }
  96. .teaser {
  97. font-size: 27px;
  98. line-height: 35px;
  99. color: #000000;
  100. }
  101. .content-wrapper {
  102. position: relative;
  103. padding: 0;
  104. padding-top: 1px;
  105. margin-top: -1px;
  106. margin-bottom: 25px;
  107. }
  108. .content-wrapper:first-of-type {
  109. padding-top: 1px;
  110. margin-top: -1px; /* weird bug idk */
  111. }
  112. .content-wrapper::before {
  113. content: " ";
  114. position: absolute;
  115. width: 100%;
  116. height: 100%;
  117. /*background: url(img/bg.jpg) repeat-y center;*/
  118. background: #00004d;
  119. background-size: cover;
  120. opacity: 0.2;
  121. }
  122. .content-wrapper:nth-child(2n)::before {
  123. background: url(img/ams_hintergrund.png) no-repeat center fixed;
  124. background-size: 100% auto;
  125. }
  126. .content-wrapper:nth-child(3n)::before {
  127. /*background: url(img/bg2.jpg) repeat-y center;*/
  128. background: #004d00;
  129. }
  130. #tda-slider .card {
  131. max-width: 20rem;
  132. margin-right: 25px;
  133. }
  134. .card-img-top {
  135. margin: 0 auto;
  136. }
  137. #tda-slider {
  138. margin-top: 25px;
  139. }
  140. #partners .col-md-4 {
  141. display: flex;
  142. }
  143. #partners .card {
  144. width: 100%;
  145. }
  146. .tda-gallery {
  147. padding-top: 25px;
  148. }
  149. .tda-content {
  150. padding-top: 25px;
  151. max-height: 350px;
  152. overflow: auto;
  153. }
  154. .tda-content a {
  155. color: inherit;
  156. }
  157. .tag-pill {
  158. color: white;
  159. background: black;
  160. padding: 20px 25px;
  161. font-size: 25px;
  162. }
  163. #single, #tdas-single {
  164. margin-bottom: 0;
  165. }
  166. #tdas-single h1 {
  167. margin-top: 10px;
  168. }
  169. #tdas-single span.tag {
  170. padding: 21px 31px;
  171. padding-top: 30px;
  172. }
  173. .slick-slide {
  174. margin: 10px;
  175. }
  176. .navbar-light .navbar-nav .nav-link {
  177. color: rgba(0, 0, 0, 0.7);
  178. }
  179. .text-muted {
  180. color: #5f676d !important;
  181. }
  182. .relcontainer {
  183. position: relative;
  184. }
  185. .tda-hover {
  186. position: absolute;
  187. left: 0;
  188. top: 0;
  189. width: 100%;
  190. height: 100%;
  191. background: rgba(0, 0, 0, 0.3);
  192. }
  193. .tda-hover .relcontainer {
  194. width: 100%;
  195. height: 100%;
  196. }
  197. .tda-hover .relcontainer span {
  198. position: absolute;
  199. left: 50%;
  200. top: 50%;
  201. transform: translate(-50%, -50%);
  202. color: #fff;
  203. font-size: 3.5vw;
  204. line-height: 3.5vw;
  205. width: 100%;
  206. text-align: center;
  207. }
  208. .tda-item img {
  209. width: 100%;
  210. height: 100%;
  211. }
  212. .slick-prev:before, .slick-next:before {
  213. color: #008238;
  214. }
  215. .slick-slider .icon-next, .slick-slider .icon-prev {
  216. position: absolute;
  217. top: 50%;
  218. display: block;
  219. width: 30px;
  220. height: 30px;
  221. padding: 0;
  222. -webkit-transform: translate(0, -50%);
  223. -ms-transform: translate(0, -50%);
  224. transform: translate(0, -50%);
  225. background: #008238;
  226. padding: 20px;
  227. border-radius: 50%;
  228. opacity: 0.4;
  229. transition: opacity 0.3s ease;
  230. }
  231. .slick-slider .icon-next:hover, .slick-slider .icon-prev:hover {
  232. opacity: 1;
  233. }
  234. .slick-slider .icon-next > .fa, .slick-slider .icon-prev > .fa {
  235. color: #fff;
  236. font-weight: 900;
  237. }
  238. .slick-slider .icon-next > .fa:before {
  239. position: absolute;
  240. left: 12px;
  241. top: 10px;
  242. font-size: 25px;
  243. }
  244. .slick-slider .icon-prev > .fa:before {
  245. position: absolute;
  246. left: 9px;
  247. top: 10px;
  248. font-size: 25px;
  249. }
  250. .slick-slider .icon-next {
  251. right: 5px;
  252. z-index: 5;
  253. }
  254. .slick-slider .icon-prev {
  255. left: 5px;
  256. z-index: 5;
  257. }
  258. .b-to-top {
  259. text-align: center;
  260. padding-bottom: 5px;
  261. }
  262. .b-to-top a {
  263. background: grey;
  264. border-radius: 50%;
  265. padding: 0.4rem;
  266. color: white;
  267. display: inline-flex;
  268. }
  269. .tda-item .tda-hover {
  270. transition: transform 0.7s ease;
  271. transform: scale(0, 0);
  272. }
  273. .tda-item:hover .tda-hover {
  274. transform: scale(1, 1);
  275. }
  276. .footer-wrapper {
  277. font-family: 'Special Elite', cursive;
  278. background: #C0C0C0;
  279. }
  280. footer p {
  281. margin-top: 1rem;
  282. }
  283. footer p a {
  284. color: #373a3c;
  285. }
  286. a:hover {
  287. text-decoration: none;
  288. }
  289. .card a {
  290. color: inherit;
  291. }
  292. .navbar-nav .nav-item:first-child {
  293. margin-left: 0;
  294. }
  295. .card a:hover {
  296. color: #014c8c;
  297. }
  298. #ams-topnav {
  299. font-family: 'Special Elite', cursive;
  300. }
  301. .jumper {
  302. position: absolute;
  303. top: -50px;
  304. }
  305. .container.text-muted p img {
  306. width: 100%;
  307. height: auto;
  308. }
  309. @media(min-width: 544px) {
  310. .menu-item.dropdown::after {
  311. content: "\f0d7";
  312. font: normal normal normal 14px/1 FontAwesome;
  313. position: absolute;
  314. right: -12px;
  315. top: 12px;
  316. }
  317. .carousel-control .icon-next .fa-chevron-right:before, .carousel-control .icon-prev .fa-chevron-left:before {
  318. }
  319. .carousel-control .icon-prev, .carousel-control .icon-next {
  320. top: 50%;
  321. }
  322. }
  323. @media (min-width: 768px) {
  324. .navbar-nav .nav-item {
  325. margin-left: 1rem;
  326. }
  327. .tda-hover .relcontainer span {
  328. font-size: 1.5vw;
  329. line-height: 1.5vw;
  330. }
  331. }
  332. @media (min-width: 992px) {
  333. span.tag {
  334. left: -15px;
  335. position: absolute;
  336. }
  337. }
  338. @media (min-width: 1280px) {
  339. .slick-slider .icon-next, .slick-slider .icon-prev {
  340. width: 80px;
  341. height: 80px;
  342. }
  343. .slick-slider .icon-next > .fa:before {
  344. position: absolute;
  345. left: 25px;
  346. top: 19px;
  347. font-size: 50px;
  348. }
  349. .slick-slider .icon-prev > .fa:before {
  350. position: absolute;
  351. left: 15px;
  352. top: 17px;
  353. font-size: 50px;
  354. }
  355. .slick-slider .icon-next {
  356. right: -105px;
  357. }
  358. .slick-slider .icon-prev {
  359. left: -105px;
  360. }
  361. }