Guest User

Untitled

a guest
May 4th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.60 KB | None | 0 0
  1. body {
  2.     margin-top: 20px;
  3.     margin-bottom: 20px;
  4.  
  5.     background:url(bg.png) no-repeat center center fixed;
  6.     -webkit-background-size: cover;
  7.     -mozb-background-size: cover;
  8.     -o-background-size: cover;
  9.     background-size: cover;
  10.  
  11.     line-height: 1.4;
  12.     font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  13.     font-size: 21px;
  14. }
  15.  
  16. div.naviwrap{
  17.     background-color: #FFB266;
  18.     border-radius: 5px;
  19.     width: 1100px;
  20.     margin-left: auto;
  21.     margin-right: auto;
  22.  
  23.     font-size: 15px;
  24.    
  25.     -webkit-box-shadow: 0px 0px 19px 9px rgba(255,255,255,0.6);
  26.     -moz-box-shadow: 0px 0px 19px 9px rgba(255,255,255,0.6);
  27.     box-shadow: 0px 0px 19px 9px rgba(255,255,255,0.6);
  28. }
  29.  
  30. ul.navigation {
  31.     list-style: none;
  32.    
  33.     display: -webkit-box;
  34.     display: -moz-box;
  35.     display: -ms-flexbox;
  36.     display: -webkit-flex;
  37.     display: flex;
  38.     -webkit-flex-flow: row wrap;
  39.     justify-content: flex-start; /* noetig? */
  40. }
  41.  
  42. div.contentwrap{
  43.     background-image: linear-gradient(to top, #FFB266 0%, #FFB575 50%);
  44.     width: 1100px;
  45.     margin-left: auto;
  46.     margin-right: auto;
  47.     margin-top: 20px;
  48.     overflow: auto;
  49.     border-radius: 5px;
  50.     -webkit-box-shadow: 0px 0px 19px 9px rgba(255,255,255,0.7);
  51.     -moz-box-shadow: 0px 0px 19px 9px rgba(255,255,255,0.7);
  52.     box-shadow: 0px 0px 19px 9px rgba(255,255,255,0.7);
  53. }
  54.  
  55. div.content{
  56.     margin-right: 70px;
  57.     margin-left: 70px;
  58.     margin-top: 50px;
  59.     margin-bottom: 50px;
  60. }
  61.  
  62. ul.navigation a {
  63.     display: block;
  64.     padding: 1em;
  65. }
  66. a {
  67.     text-decoration: none;
  68.     color: #585858;
  69. }
  70.  
  71. a:hover, a:focus {
  72.     color: #404040;
  73.     font-weight: bold;
  74. }
  75.  
  76. ul.navigation > .active  > a{
  77.     background: #F4A460;
  78. }
  79.  
  80. li.logo{
  81.     font-weight: 800;
  82. }
  83.  
  84. h1, h2, h3 {
  85.     font-weight: 100;
  86.     margin-left: 10px;
  87. }
  88.  
  89. img{
  90.     border-radius: 6px;
  91.     max-width: 100%;
  92. }
  93.  
  94. input.btn{
  95.     color: #FFFFFF;
  96.     display: block;
  97.     width: 100%;
  98.    
  99.     border: 1px solid transparent;
  100.     border-radius: 6px;
  101.    
  102.     font-size: 18px;
  103.     line-height: 1.3;
  104.    
  105.     padding: 10px;
  106.     cursor: pointer;
  107. }
  108.  
  109. input.btnDarkBlue{
  110.     background-color: #337ab7;
  111. }
  112.  
  113. input.btnDarkBlue:hover{
  114.     background-color: #285f8f;
  115. }
  116.  
  117. input.btnLightBlue{
  118.     background-color: #5bc0de;
  119. }
  120.  
  121. input.btnLightBlue:hover{
  122.         background-color: #31b0d6;
  123. }
  124.  
  125. input.txt{
  126.     display: block;
  127.     width: 100%;
  128.     height: 34px;
  129.     padding: 6px;
  130.     font-size: 14px;
  131.     line-height: 1.4;
  132.     color: #555;
  133.     background-color: #fff;
  134.     border: 1px solid #ccc;
  135.     border-radius: 4px;
  136.     font: inherit;
  137. }
  138.  
  139. @media all and (max-width: 1150px) {
  140.     div.naviwrap{
  141.         width: 850px;
  142.     }
  143.  
  144.     div.contentwrap{
  145.         width: 850px;
  146.     }
  147. }
  148.  
  149. @media all and (max-width: 880px) {
  150.     div.naviwrap{
  151.         width: 600px;
  152.     }
  153.  
  154.     div.contentwrap{
  155.         width: 600px;
  156.     }
  157. }
  158.  
  159. /* Menue-Umbruch */
  160. @media all and (max-width: 650px) {
  161.     body{
  162.         margin-top: 5px;
  163.         margin-bottom: 5px;
  164.     }
  165.  
  166.     div.naviwrap{
  167.         width: auto;
  168.     }
  169.  
  170.     div.contentwrap{
  171.         margin-top: 0px; /* ??? */
  172.         width: auto;
  173.     }
  174.  
  175.     ul.navigation {
  176.         -webkit-flex-flow: column wrap;
  177.         flex-flow: column wrap;
  178.         text-align: center;    
  179.         padding: 0px;
  180.     }
  181.  
  182.     ul.navigation a{
  183.         padding: 6px;
  184.         border-top: 1px solid rgba(255,255,255,0.3);
  185.         border-bottom: 1px solid rgba(0,0,0,0.1);
  186.     }
  187.  
  188.     .navigation li:last-of-type a{
  189.         border-bottom: none;
  190.     }
  191.    
  192.     div.content{
  193.         margin-left: 10px;
  194.         margin-right: 10px;
  195.         margin-top: 5px;
  196.     }
  197. }
  198.  
  199. @media all and (max-width: 350px) {
  200.     body{
  201.         font-size: 16px;
  202.     }
  203.    
  204.     div.naviwrap{
  205.         font-size: 12px;
  206.     }
  207.    
  208.     div.content{
  209.         margin-top: 0px;
  210.     }
  211.    
  212.     input.btnLightBlue{
  213.         font-size: 10px;
  214.     }
  215.    
  216.     input.btnDarkBlue{
  217.         font-size: 10px;
  218.     }
  219.    
  220.     input.txt{
  221.         font-size: 12px;
  222.     }
  223.    
  224.     h1, h2, h3 {
  225.         margin-left: 2px;
  226.     }
  227. }
Add Comment
Please, Sign In to add comment