Advertisement
Guest User

CSS-Code

a guest
Jul 21st, 2015
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 8.10 KB | None | 0 0
  1. /*Schriften einbinden*/
  2.  
  3.  
  4. @font-face {
  5.     font-family: 'Linux Libertine';
  6.     src: url('fonts/LinLibertine_R.woff') format('woff');
  7.     /*src: url('fonts/LinLibertine_Rah.ttf') format('truetype');*/    
  8.     font-weight: normal;
  9.     font-style: normal;
  10. }
  11.  
  12. @font-face {
  13.     font-family: 'Linux Libertine';
  14.     src: url('fonts/LinLibertine_RI.woff') format('woff');
  15.     /*src: url('fonts/LinLibertine_RIah.ttf') format('truetype');*/
  16.     font-weight: normal;
  17.     font-style: italic;
  18.  
  19. }
  20.  
  21. @font-face {
  22.     font-family: 'Linux Libertine';
  23.     src: url('fonts/LinLibertine_RB.woff') format('woff');
  24.     /*src: url('fonts/LinLibertine_RBah.ttf') format('truetype');      */
  25.     font-weight: bold;
  26.     font-style: normal;
  27.  
  28. }
  29. @font-face {
  30.     font-family: 'Linux Libertine';
  31.     src: url('fonts/LinLibertine_RBI.woff') format('woff');
  32.     /*src: url('fonts/LinLibertine_RBIah.ttf') format('truetype');*/          
  33.     font-weight: bold;
  34.     font-style: italic;
  35.  
  36. }
  37.  
  38. @font-face {
  39.     font-family: 'Linux Libertine Display';
  40.     src: url('fonts/LinLibertine_DR.woff') format('woff');
  41.     /*src: url('fonts/LinLibertine_DR.ttf') format('truetype');*/  
  42.     font-weight: normal;
  43.     font-style: normal;
  44.  }
  45.    
  46.  @font-face {
  47.     font-family: 'Linux Libertine Mono';
  48.     src: url('fonts/LinLibertine_Mah.ttf') format('truetype');        
  49.     font-weight: normal;
  50.     font-style: normal;
  51.  
  52. }
  53.  
  54.  
  55. /* Allgemeine Einstellungen */
  56.  
  57.  
  58. /*********Überschriften*************/
  59.  
  60. /*h1 {font-family: 'Linux Libertine'; color: green;}*/
  61.  
  62.  
  63.  
  64. h1 { font-family: 'Linux Libertine'; font-size: 25pt;  text-align: center; font-weight: normal; }
  65. h2 { font-family: 'Linux Libertine'; font-size: 23pt;  text-align: center; font-weight: normal;}
  66. h3 { font-family: 'Linux Libertine'; font-size: 21pt;  text-align: center; font-weight: normal;}
  67. h4 { font-family: 'Linux Libertine'; font-size: 19pt;  text-align: left; font-weight: normal;}
  68. h5 { font-family: 'Linux Libertine'; font-size: 17pt;  text-align: left; font-weight: normal;}
  69. h6 { font-family: 'Linux Libertine'; font-size: 15pt;  text-align: left; font-weight: normal;}
  70.  
  71.  
  72.                                          
  73. /*********Brotschrift*************/      
  74.                                          
  75.  
  76. html, body {font-family: 'Linux Libertine', Garamond, serif;
  77.             margin:0 auto; /*wichtig, sonst haut der da ne brauser-default-css rein*/
  78.             background: rgb(251,251,251) url(img/side_section.png) repeat-y scroll top left;
  79.             background-size: 200px 300px;
  80.             font-size: 14pt;
  81.             padding:0px;
  82.             max-width:980px;
  83.             /*
  84.             background-color:rgb(251,251,251);
  85.             background-image:url(img/side_section.png);
  86.             background-repeat:repeat-y;
  87.             background-position: 300px 400px;
  88.             background-attachment: scroll;
  89.             */
  90.  
  91.             /*scroll ist hier std, lediglich zu übungszwecken da drin.
  92.             Der Hintergrund bewegt sich mit dem Scrollbalken mit. Alternative ist "fixed".*/
  93.  
  94.             /* Das oben jetzt unter Verwendung der Eigenschaft "background" in nur einer Zeile.*/
  95.             /*Links, die nicht im Hauptmenü stehen:
  96.              */
  97.            
  98.  
  99.         }
  100. html, body, p { line-height:125%;}
  101. #top-section {
  102.             /*Diese Definition wird nicht korrekt verarbeitet, insb. "background-size" wird ignoriert, aber eine grüne Schrift kann ich hier erzeugen*/
  103.             font-family: 'Linux Libertine';
  104.             background-color:white /*rgb(251,251,251)*/;
  105.             background-image:url(img/top_section.png);
  106.             background-repeat:no-repeat;
  107.             height:120px;
  108.             margin-left:10px;
  109.             margin-top:0pt;
  110.             padding:0px;
  111.             background-size: auto 100%;
  112.             }
  113.  
  114. #top-section h1{
  115.            /* position:absolute;*/
  116.             font-family: 'Linux Libertine';
  117.             font-size: 32pt;
  118.             text-align: center;
  119.             height:120px;
  120.             margin-left:10px;
  121.             margin-top:0pt;
  122.             padding-top:44px;
  123.             /*background-size: auto auto; */
  124.             font-variant: small-caps;
  125.             }
  126.  
  127.  
  128.            
  129. /*#main-section {
  130.             margin:0px;
  131.             padding:0px;
  132.             margin-top: 0pt;
  133.             margin-left:240px;
  134.             margin-right:0px;
  135.             border-top:double 5px black;
  136.             } */
  137. #navigation     {
  138.             position:absolute; /*Dieses Kommando nimmt die section aus dem Textfluss raus! */
  139.             /*left:100px;
  140.             top:180px;*/
  141.             width:200px;
  142.             top: 10px;
  143.             /*margin-left: 30px;*/
  144.             }
  145.            
  146. #content        {
  147.             border-top:double 5px black;
  148.             margin:0px;
  149.             padding-left:10px;
  150.             padding-top:5pt;
  151.             margin-top: 0pt;
  152.             margin-left:200px;
  153.             margin-right:0px;
  154.             }
  155. #content p{
  156.             margin-bottom:0;
  157.         }
  158. #content p + p {
  159.             text-indent:30pt;
  160.             margin-top: 0}
  161.  
  162.  
  163.    
  164.  
  165. /*Links grundsätzlich */
  166. a:link {
  167.                 /*font-family: 'Linux Libertine Mono', Courier, monospace;*/
  168.                 color: black;
  169.                 /*letter-spacing: -1.5px;*/
  170.                 font-size: 14pt;
  171.                 text-decoration: none; border-bottom: 1px dashed;
  172.             }
  173. a:visited {
  174.                 /*font-family: 'Linux Libertine Mono', Courier, monospace;*/
  175.                 text-decoration: none;
  176.                 color: grey;
  177.                 font-style: normal;
  178.                 /*letter-spacing: -1.5px;*/
  179.                 font-size: 14pt;
  180.                 text-decoration: none; border-bottom: 1px dashed;
  181.             }
  182. a:hover {
  183.                 /*font-family: 'Linux Libertine Mono', Courier, monospace;*/
  184.                 text-decoration: underline;
  185.                 /*letter-spacing: -1.5px;*/
  186.                 font-size: 14pt;
  187.                 text-decoration: none; border-bottom: 1px solid;
  188.             }
  189. a:focus {
  190. /*                font-family: 'Linux Libertine Mono', Courier, monospace;*/
  191.                 font-size: 14pt;
  192.                 text-decoration: underline;
  193.                 /*letter-spacing: -1.5px;*/
  194.                 font-style: normal;
  195.                 text-decoration: none; border-bottom: 1px solid;
  196.          }
  197. a:active {
  198.                 /*font-family: 'Linux Libertine Mono', Courier, monospace;*/
  199.                 text-decoration: underline;
  200.                 font-size: 14pt;
  201.                 /*letter-spacing: -1.5px;*/
  202.                 text-decoration: none; border-bottom: 1px solid;
  203.          }                                    
  204.  
  205. /*Links im Hauptmenü */
  206.          
  207.          
  208.  
  209.          
  210.          
  211.          
  212.          
  213.          
  214. /*Globale Menüeinstellungen */        
  215.          /*und Standardeinstellungen des Browsers überschreiben */
  216.  
  217.          
  218.          
  219. #navigation nav{
  220.     margin-top:120px;
  221.     padding:0pt;
  222.     line-height: 200%;
  223. }
  224.  
  225.  
  226.  
  227.  
  228. #navigation, #navigation nav, #navigation nav ul,
  229. nav li, #navigation nav a, #navigation nav span {
  230.    padding:0pt;
  231.    list-style:none;
  232.    margin-left: 2px;
  233.    font-family: 'Linux Libertine', Garamond, serif;
  234.    text-decoration: none; border-bottom: none;
  235.    color: black;
  236.    font-size:16pt;
  237.    font-style:italic;
  238.    }
  239.  
  240.  
  241. #navigation nav a:visited {
  242.     text-decoration: none; border-bottom: none;
  243.     color: grey;
  244.     }
  245. #navigation nav a:hover {
  246.     text-decoration: none; border-bottom: 2px dashed;
  247.     }
  248. #navigation nav a:focus {
  249.     text-decoration: none; border-bottom: 2px dashed;
  250.     }
  251. #navigation nav a:active {
  252.     text-decoration: none; border-bottom: 2px solid;
  253.     }
  254. #navigation nav span {
  255.     text-decoration: none; border-bottom: 2px dashed;
  256.     color:black;
  257. }
  258.                                        
  259. /***********Tabellen und Aufzählungen************/
  260.              
  261.  
  262.      
  263. /*li { font-size: 1em; }                    
  264. li li {font-size: 1.0em }                
  265. tr { font-size: 1em }                    
  266. #blah {                                  
  267.      background-color: lime;              
  268.      padding-right: 1em;                  
  269.      float: left;                        
  270.      margin-right: 1em                    
  271.      }                                    
  272.                                          
  273. #blah p {                                
  274.     font-family: 'spielzeug';            
  275.     text-align: right;                    
  276. } */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement