1
0

style.css 6.5 KB

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