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.

template.html 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Style Guide</title>
  7. <link rel="stylesheet" href="assets/css/app.css">
  8. <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/github.min.css">
  9. <!-- Style guide-specific CSS goes here. -->
  10. <style>
  11. /* This styles individual sections of the style guide */
  12. .ss-section:not(:last-child) {
  13. padding-bottom: 4rem;
  14. border-bottom: 2px solid #ccc;
  15. margin-bottom: 4rem;
  16. }
  17. /* This styles code blocks used for examples. */
  18. .ss-code code {
  19. display: block;
  20. padding: 1rem;
  21. overflow-x: scroll;
  22. margin-bottom: 1.5rem;
  23. }
  24. /* This styles the example rows used in the grid documentation. */
  25. .grid-x.display {
  26. background: #eee;
  27. font-size: 11px;
  28. margin-bottom: 10px;
  29. line-height: 2rem;
  30. border: solid 1px #c6c6c6;
  31. margin-left: 0 !important;
  32. margin-right: 0 !important; }
  33. .grid-x.display .cell:nth-child(2), .grid-x.display .cell.small-centered, .grid-x.display .cell.large-centered {
  34. background: #e1e1e1; }
  35. .grid-x.display .cell.color-end {
  36. background: #d4d4d4; }
  37. /* This styles the color blocks used in the color documentation. */
  38. .color-block {
  39. border-radius: 2px;
  40. display: block;
  41. padding: 8px 8px 6px;
  42. color: #333;
  43. text-transform: uppercase;
  44. border: 1px solid #ddd;
  45. box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  46. }
  47. .color-block span {
  48. display: block;
  49. width: 100%;
  50. height: 100px;
  51. margin-bottom: 0.42857rem;
  52. }
  53. .sg-header {
  54. background: #eee;
  55. padding: 2rem;
  56. }
  57. .grid-container {
  58. max-width: 1400px;
  59. }
  60. .sg-side-menu {
  61. margin-left: 1rem;
  62. }
  63. .grid-container.padded {
  64. padding-top: 2rem;
  65. }
  66. .sg-side-menu a {
  67. transition: all 0.15s ease-in;
  68. }
  69. .sg-side-menu a:hover {
  70. background: #eee;
  71. }
  72. .sg-side-menu a:focus {
  73. background: #1468a0;
  74. color: #fff;
  75. }
  76. .sg-side-menu.menu {
  77. overflow: auto;
  78. height: 100vh;
  79. padding-bottom: 5rem;
  80. }
  81. </style>
  82. </head>
  83. <body>
  84. <header class="sg-header" id="sg-header">
  85. <div class="grid-container">
  86. <h1>Style Guide</h1>
  87. <p class="lead">This style guide was built with Foundation for Sites. For more information on how to use this responsive front-end framework, check out the documentation, get help from the Foundation community, or request immediate technical support.</p>
  88. <a href="https://foundation.zurb.com/sites/docs/" class="button">Visit the Docs</a>
  89. <a href="https://foundation.zurb.com/forum" class="secondary button">Foundation Forum</a>
  90. <a href="https://foundation.zurb.com/get-involved/support.html" class="secondary button">Technical Support</a>
  91. </div>
  92. </header>
  93. <div class="grid-container padded">
  94. <div class="grid-x grid-margin-x" data-sticky-container>
  95. <div class="large-3 medium-4 cell">
  96. <div class="sticky" data-sticky data-top-anchor="sg-header:bottom">
  97. <ul class="vertical menu sg-side-menu" data-smooth-scroll data-animation-easing="swing">
  98. {{#each pages}}
  99. <li><a href="#{{ anchor }}">{{ title }}</a></li>
  100. {{/each}}
  101. </ul>
  102. </div>
  103. </div>
  104. <div class="large-9 medium-8 cell">
  105. {{#each pages}}
  106. <section class="ss-section" id="{{ anchor }}">
  107. {{ body }}
  108. </section>
  109. {{/each}}
  110. </div>
  111. </div>
  112. </div>
  113. <script src="assets/js/app.js"></script>
  114. </body>
  115. </html>