Difference between revisions of "MediaWiki:Frame.rythm"

From BITPlan Wiki
Jump to navigation Jump to search
(Undo revision 470 by Wf (talk))
Line 5: Line 5:
 
   String content;
 
   String content;
 
}
 
}
@// http://jsfiddle.net/VzGAy/2/
 
 
<!DOCTYPE html>
 
<!DOCTYPE html>
 
<html lang="en">
 
<html lang="en">
Line 18: Line 17:
 
     color: #FF8000;
 
     color: #FF8000;
 
     margin-left: 40px;
 
     margin-left: 40px;
}
 
.container {
 
    width: 500px;
 
    max-height: 500px;
 
    margin: 10px;
 
    border: 1px solid #fff;
 
    background-color: #ffffff;
 
    box-shadow: 0px 2px 7px #292929;
 
    -moz-box-shadow: 0px 2px 7px #292929;
 
    -webkit-box-shadow: 0px 2px 7px #292929;
 
    border-radius: 10px;
 
    -moz-border-radius: 10px;
 
    -webkit-border-radius: 10px;
 
}
 
.mainbody,
 
.header,
 
.footer {
 
    padding: 5px;
 
}
 
.mainbody {
 
    margin-top: 0;
 
    min-height: 150px;
 
    max-height: 388px;
 
    overflow: auto;
 
}
 
.header {
 
    height: 40px;
 
    border-bottom: 1px solid #EEE;
 
    background-color: #ffffff;
 
    height: 40px;
 
    -webkit-border-top-left-radius: 5px;
 
    -webkit-border-top-right-radius: 5px;
 
    -moz-border-radius-topleft: 5px;
 
    -moz-border-radius-topright: 5px;
 
    border-top-left-radius: 5px;
 
    border-top-right-radius: 5px;
 
}
 
.footer {
 
    height: 40px;
 
    background-color: whiteSmoke;
 
    border-top: 1px solid #DDD;
 
    -webkit-border-bottom-left-radius: 5px;
 
    -webkit-border-bottom-right-radius: 5px;
 
    -moz-border-radius-bottomleft: 5px;
 
    -moz-border-radius-bottomright: 5px;
 
    border-bottom-left-radius: 5px;
 
    border-bottom-right-radius: 5px;
 
 
}
 
}
 
   </style>
 
   </style>
 
</head>
 
</head>
 
<body>
 
<body>
   <div class="container">
+
   <div id='content'>
    <div class="header">Header</div>
 
    <div class="mainbody">
 
 
@(content)
 
@(content)
    </div>
 
    <div class="footer">Footer</div>
 
 
   </div>
 
   </div>
 
</body>
 
</body>
 
</source>
 
</source>

Revision as of 16:50, 2 February 2017

@// Rythm template for the manager for the 
@// Entity Attribute which is a DocElement
@args() {
  String content;
}
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8"/>
  <style>
body {
    background-color: linen;
}

h1 {
    color: #FF8000;
    margin-left: 40px;
}
  </style>
</head>
<body>
  <div id='content'>
@(content)
  </div>
</body>