nomyx-web-1.0.0: data/static/css/nomyx.css
/* General */
* {
font-family: Futura, sans-serif;
}
h2{
font-size: 18;
margin-top: 5pt;
}
h3{
font-size: 16;
margin-top: 5pt;
}
/* Title bar */
#headerTitle {
color: white;
font-size: 22;
font-family: verdana;
font-weight: bold;
margin-left: auto;
margin-right: auto;
width: 75%;
padding-left: 30px;
padding-right: 160px;
padding-top: 0px;
}
#headerTitle a:link,
#headerTitle a:visited,
#headerTitle a:hover {
color: white;
text-decoration: none;
}
#gameButton {
padding: 4px 16px 2px 16px;
border: 2px solid #CCCCCC;
}
/* Multi */
#multi {
margin-left: auto;
margin-right: auto;
width: 75%;
top: 10px;
position: relative;
}
/* Home */
.playasform {
font-size: large;
font-weight: bold;
padding-bottom:10px;
}
#playerName {
padding-right: 20pt;
}
/* Games */
#gameList {
position:absolute;
border-right:1px solid black;
width:160px;
padding:10px;
left:10px;
overflow: auto;
}
.game {
position:relative;
background-color:#FAF2E8;
border:1px solid black;
height:90%;
left:215px;
width: 1000px;
padding-right:23px;
overflow: auto;
}
#gameElem {
position:absolute;
height:90%;
top:20px;
left:250px;
right:20px;
}
/* Rules */
.ruleList {
position:absolute;
border-right: 1px solid black;
height: 100%;
width: 250px;
padding: 6px;
overflow: auto;
}
.ruleList ul {
padding-left: 20px;
}
.rule {
position:relative;
height: 100%;
left: 265px;
padding: 10px;
width: 70%;
display: none;
}
.commandrule {
text-align: right;
}
.viewrule {
display: none;
position: absolute;
top: 20px;
width: 94%;
}
.editrule {
display:none;
position: absolute;
top: 20px;
width: 94%;
}
.module {
display:none;
}
#ruleName {
font-weight: bold;
margin-top: 15pt;
}
#proposedBy {
font-style: italic;
color: blue;
}
.ruleName {
}
.ruleTitle {
font-size: 20pt;
margin: 20px;
text-align: center;
font-weight: bold;
}
.ruleImg {
text-align: center;
}
.ruleCode {
width:100%;
}
.ruleAuthor {
text-align: right;
}
.ruleDescr {
margin: 20px;
font-size: 18;
text-align: center;
}
.ruleMain {
display:none;
}
.ruleDecl {
display:none;
}
/* Modules */
.module {
position:relative;
height: 100%;
padding: 10px;
display: none;
}
.commandModule {
text-align: right;
}
.viewModule {
display: none;
position: absolute;
top: 20px;
left: 15px;
width: 94%;
}
.editModule {
display:none;
position: absolute;
top: 35px;
width: 94%;
}
/* Code */
.codeDiv {
padding: 5px;
border: 1px solid black;
margin: 20px;
}
pre {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
.modalDialog {
position: fixed;
font-family: Arial, Helvetica, sans-serif;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0,0,0,0.8);
z-index: 99999;
opacity:0;
-webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;
pointer-events: none;
}
.modalDialog:target {
opacity:1;
pointer-events: auto;
}
.modalDialog > div {
width: 1000px;
position: relative;
margin: 10% auto;
padding: 5px 20px 13px 20px;
border-radius: 10px;
background: #fff;
}
.close {
background: #606061;
color: #FFFFFF;
line-height: 25px;
position: absolute;
right: -12px;
text-align: center;
top: -10px;
width: 24px;
text-decoration: none;
font-weight: bold;
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
border-radius: 12px;
-moz-box-shadow: 1px 1px 3px #000;
-webkit-box-shadow: 1px 1px 3px #000;
box-shadow: 1px 1px 3px #000;
}
.close:hover {
background: #00d9ff;
}
.modalWindow {
position: fixed;
font-family: arial;
font-size:80%;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0,0,0,0.2);
z-index: 99999;
opacity:0;
-webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;
pointer-events: none;
}
.modalButton {
background: #606061;
color: #FFFFFF;
line-height: 25px;
text-align: center;
text-decoration: none;
font-weight: bold;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-moz-box-shadow: 1px 1px 3px #000;
-webkit-box-shadow: 1px 1px 3px #000;
box-shadow: 1px 1px 3px #000;
width:80px;
float:right;
margin-left:20px;
}
.modalWindow:target {
opacity:1;
pointer-events: auto;
}
.modalWindow > div {
width: 500px;
position: relative;
margin: 10% auto;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background: #fff;
padding-left:20px;
padding-right:10px;
padding-top:5px;
padding-bottom:10px;
max-height: 70%;
}
/* Actions */
#IORule {
border:1px dotted black;
padding:10px;
padding-bottom:0px;
padding-top:0px;
margin:10px;
display: block;
max-height:450pt;
overflow-y:auto;
}
#victory {
float:left;
margin-left:5%;
padding:10px;
}
#showCodeLink {
text-align:right;
}
.button {
text-decoration: none;
background-color: #EEEEEE;
color: #333333;
padding: 2px 6px 2px 6px;
border-top: 1px solid #CCCCCC;
border-right: 1px solid #333333;
border-bottom: 1px solid #333333;
border-left: 1px solid #CCCCCC;
margin: 3px;
cursor: pointer;
font-size: 22;
}
.buttonTD {
padding: 6px;
}
/* Document */
#header {
background: #F4F4F4 url(/static/pictures/header-bg.jpg) repeat-x;
height:32pt;
opacity:0.7;
font:
}
#footer {
border-top:1px solid silver;
border-bottom:1px solid silver;
margin-top:10px;
margin-bottom:10px;
color:gray;
padding-top:10px;
padding-bottom:5px;
background-color:#F4F4F4;
bottom:0;
position:absolute;
width:100%;
}
input[type="file"]{
font: normal 11px Arial;
}
#InputForm {
display:inline;
}
#modalCode {
overflow: auto;
height: 60%;
}
pre {
-moz-tab-size: 16;
-o-tab-size: 16;
-webkit-tab-size: 16;
-ms-tab-size: 16;
tab-size: 16;
}