Layout von Websiten mit Bootstrap und Foundation
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.

style.css 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. @import url('https://fonts.googleapis.com/css?family=Poppins:400,500,700');
  2. html, body {
  3. height: 100%;
  4. width: 100%;
  5. font-family: 'Poppins', sans-serif;
  6. color: #222;
  7. }
  8. .navbar {
  9. padding: .8rem; // rem is based on font size so if base font size is 16px 1 rem is 16px
  10. }
  11. .navbar-nav li {
  12. padding-right: 20px;
  13. }
  14. .nav-link {
  15. font-size: 1.1em;
  16. }
  17. .carousel-inner img {
  18. width: 100%;
  19. height: 100%;
  20. }
  21. .carousel-caption {
  22. position: absolute;
  23. top: 50%;
  24. transform: translateY(-50%);
  25. }
  26. .carousel-caption h1 {
  27. font-size: 500%;
  28. text-transform: uppercase;
  29. text-shadow: 1px 1px 15px #000;
  30. }
  31. .carousel-caption h3 {
  32. font-size: 200%;
  33. font-weight: 500;
  34. text-shadow: 1px 1px 10px #000;
  35. padding-bottom: 1rem;
  36. }
  37. .btn-primary {
  38. background-color: #6648b1;
  39. border: 1px solid #563d7c;
  40. }
  41. .btn-primary:hover {
  42. background-color: #563d7c;
  43. border: 1px solid #563d7c;
  44. }
  45. .jumbotron {
  46. padding: 1rem;
  47. border-radius: 0;
  48. }
  49. .padding {
  50. padding-bottom: 2rem;
  51. }
  52. .welcome {
  53. width: 75%;
  54. margin: 0 auto;
  55. padding-top: 2rem;
  56. }
  57. .welcome hr {
  58. border-top: 2px solid #b4b4b4;
  59. width: 95%;
  60. margin-top: .3rem;
  61. margin-bottom: 1rem;
  62. }
  63. .fa-code {
  64. color: #e54d26;
  65. }
  66. .fa-bookmark {
  67. color: #563d72;
  68. }
  69. .fa-css3 {
  70. color: #2163af;
  71. }
  72. .fa-code, .fa-bookmark, .fa-css3 {
  73. font-size: 4em;
  74. margin: 1rem;
  75. }
  76. .fun {
  77. width: 100%;
  78. margin-bottom: 2rem;
  79. }
  80. .gif {
  81. max-width: 100%
  82. }
  83. .social a {
  84. font-size: 4.5em;
  85. padding: 3rem;
  86. }
  87. .fa-facebook {
  88. color: #3b5998;
  89. }
  90. .fa-twitter {
  91. color: #00aced;
  92. }
  93. .fa-instagram {
  94. color: #517fa4;
  95. }
  96. .fa-google-plus-g {
  97. color: #dd4b39;
  98. }
  99. .fa-youtube {
  100. color: #bb0000;
  101. }
  102. .fa-facebook:hover,
  103. .fa-twitter:hover,
  104. .fa-instagram:hover,
  105. .fa-google-plus-g:hover,
  106. .fa-youtube:hover {
  107. color: #d5d5d5;
  108. }
  109. footer {
  110. padding-top: 2rem;
  111. background: #3f3f3f;
  112. color: #d5d5d5;
  113. }
  114. hr.light {
  115. border-top: 1px solid #d5d5d5;
  116. width: 75%;
  117. margin-top: .8rem;
  118. margin-bottom: 1rem;
  119. }
  120. footer a {
  121. color: #d5d5d5
  122. }
  123. hr.light-100 {
  124. border-top: 1px solid #d5d5d5;
  125. width: 100%;
  126. margin-top: .8rem;
  127. margin-bottom: 1rem;
  128. }
  129. /*---Media Queries --*/
  130. @media (max-width: 992px) {
  131. .social a {
  132. font-size: 4em;
  133. padding: 2rem;
  134. }
  135. }
  136. @media (max-width: 768px) {
  137. .carousel-caption {
  138. top: 45%;
  139. }
  140. .carousel-caption h1 {
  141. font-size: 350%;
  142. }
  143. .carousel-caption h3 {
  144. font-size: 140%;
  145. font-weight: 400;
  146. padding-bottom: .2rem;
  147. }
  148. .carousel-caption .btn {
  149. font-size: 95%;
  150. padding: 8px 14px;
  151. }
  152. .display-4 {
  153. font-size: 200%;
  154. }
  155. .social a {
  156. font-size: 2.5em;
  157. padding: 1.4rem;
  158. }
  159. }
  160. @media (max-width: 576px) {
  161. .carousel-caption {
  162. top: 40%;
  163. }
  164. .carousel-caption h1 {
  165. font-size: 250%;
  166. }
  167. .carousel-caption h3 {
  168. font-size: 110%;
  169. }
  170. .carousel-caption .btn {
  171. font-size: 90%;
  172. padding: 4px 8px;
  173. }
  174. .carousel-indicators {
  175. display: none;
  176. }
  177. .social a {
  178. font-size: 2em;
  179. padding: .7rem;
  180. }
  181. }
  182. /*---Firefox Bug Fix --*/
  183. .carousel-item {
  184. transition: -webkit-transform 0.5s ease;
  185. transition: transform 0.5s ease;
  186. transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  187. -webkit-backface-visibility: visible;
  188. backface-visibility: visible;
  189. }
  190. /*--- Fixed Background Image --*/
  191. figure {
  192. position: relative;
  193. width: 100%;
  194. height: 60%;
  195. margin: 0!important;
  196. }
  197. .fixed-wrap {
  198. clip: rect(0, auto, auto, 0);
  199. position: absolute;
  200. top: 0;
  201. left: 0;
  202. width: 100%;
  203. height: 100%;
  204. }
  205. #fixed {
  206. background-image: url('img/mac.png');
  207. position: fixed;
  208. display: block;
  209. top: 0;
  210. left: 0;
  211. width: 100%;
  212. height: 100%;
  213. background-size: cover;
  214. background-position: center center;
  215. -webkit-transform: translateZ(0);
  216. transform: translateZ(0);
  217. will-change: transform;
  218. }
  219. /*--- Bootstrap Padding Fix --*/
  220. [class*="col-"] {
  221. padding: 1rem;
  222. }
  223. /*
  224. Extra small (xs) devices (portrait phones, less than 576px)
  225. No media query since this is the default in Bootstrap
  226. Small (sm) devices (landscape phones, 576px and up)
  227. @media (min-width: 576px) { ... }
  228. Medium (md) devices (tablets, 768px and up)
  229. @media (min-width: 768px) { ... }
  230. Large (lg) devices (desktops, 992px and up)
  231. @media (min-width: 992px) { ... }
  232. Extra (xl) large devices (large desktops, 1200px and up)
  233. @media (min-width: 1200px) { ... }
  234. */