SHARE
TWEET

Untitled

a guest Jun 19th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Default PAGE object:
  2. page = PAGE
  3.  
  4. page.CSS_inlineStyle (
  5.   body {
  6.     background: lightgray;
  7.     color: darkgray;
  8.   }
  9.   #wrapper {
  10.     border: 1px solid gray;
  11.     width: 900px;
  12.     margin: 0 auto;
  13.   }
  14.   header img {
  15.     vertical-align: bottom;
  16.   }
  17.   nav {
  18.     background: #309887;
  19.     padding: 5px;
  20.   }
  21.   main {
  22.     background: white;
  23.     padding: 5px;
  24.   }
  25.   footer {
  26.     text-align:center;
  27.     padding: 5px;
  28.   }    
  29. )
  30.  
  31. page.10 = COA
  32. page.10 {
  33.   wrap = <div id="wrapper">|</div>
  34.  
  35.   10 = COA
  36.   10 {
  37.     wrap = <header>|</header>
  38.  
  39.     10 = IMAGE
  40.     10.file = fileadmin/Bilder/typo3einsteiger.png
  41.     10.altText = Logo der Seite
  42.  
  43.     20 = TEXT
  44.     20.value = NAVIGATION
  45.     20.wrap = <nav>|</nav>
  46.   }
  47.  
  48.   20 = COA
  49.   20 {
  50.     wrap = <main>|</main>
  51.     10 < styles.content.get
  52.   }
  53.  
  54.   30 = COA
  55.   30 {
  56.     wrap = <footer>|</footer>
  57.     10 = TEXT
  58.     10.value = &copy; 2017 TYPO3einsteiger
  59.   }
  60. }
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top