Show More
Commit Description:
added contest model
Commit Description:
added contest model
References:
File last commit:
Show/Diff file:
Action:
public/stylesheets/application.css
| 342 lines
| 5.7 KiB
| text/css
| LassoCssLexer
|
|
r190 | /* Main Default */ | ||
|
r162 | body { | ||
|
r190 | background: white url(../images/topbg.jpg) repeat-x top center; | ||
|
r162 | font-size: 13px; | ||
|
r190 | font-family: Tahoma, "sans-serif"; | ||
margin: 10px; | ||||
padding: 10px; | ||||
} | ||||
/* Form Font */ | ||||
input { | ||||
font-family: Tahoma, "sans-serif"; | ||||
} | ||||
|
r197 | /* Heading 1&2 */ | ||
|
r190 | h1 { | ||
font-size: 24px; | ||||
color: #334488; | ||||
line-height: 2em; | ||||
} | ||||
h2 { | ||||
font-size: 18px; | ||||
color: #5566bb; | ||||
line-height: 1.5em; | ||||
} | ||||
/* Bar Line Color and Thickness */ | ||||
hr { | ||||
border-top: 1px solid #dddddd; | ||||
border-bottom: 1px solid #eeeeee; | ||||
} | ||||
/* Link + Anchor Color */ | ||||
a, a:link, a:visited { | ||||
color: #6666cc; | ||||
text-decoration: none; | ||||
} | ||||
a:hover, a:focus { | ||||
color: #111166; | ||||
text-decoration: none; | ||||
|
r14 | } | ||
|
r0 | |||
|
r56 | /* This is the main menu bad*/ | ||
|
r22 | div.userbar { | ||
|
r190 | line-height: 1.5em; | ||
|
r21 | text-align: right; | ||
font-size: 12px; | ||||
|
r0 | } | ||
|
r56 | /* This is the top bar, displaying user's full name */ | ||
div.title { | ||||
|
r190 | // background: #ddddff; | ||
// border: 1px dashed blue; | ||||
padding: 10px 0px; | ||||
line-height: 1.5em; | ||||
font-size: 13px; | ||||
|
r78 | } | ||
|
r85 | div.title span.contest-over-msg { | ||
font-size: 15px; | ||||
color: red; | ||||
} | ||||
|
r78 | div.title table { | ||
width: 100%; | ||||
|
r197 | font-weight: bold; | ||
|
r78 | } | ||
div.title td.left-col { | ||||
text-align: left; | ||||
vertical-align: top; | ||||
|
r190 | color: #444444; | ||
|
r78 | } | ||
div.title td.right-col { | ||||
text-align: right; | ||||
vertical-align: top; | ||||
|
r197 | font-size: 18px; | ||
|
r190 | color: #116699; | ||
|
r14 | } | ||
|
r56 | /* Standard table with header and rows with alternating background */ | ||
|
r50 | table.info { | ||
|
r190 | margin: 10px 0; | ||
border: 1px solid #666666; | ||||
|
r50 | border-collapse: collapse; | ||
font-size: 12px; | ||||
} | ||||
|
r57 | table.info th { | ||
|
r190 | border: 1px solid #666666; | ||
line-height: 1.5em; | ||||
padding: 0 0.5em; | ||||
|
r50 | } | ||
|
r57 | table.info td { | ||
|
r190 | border-left: 1px solid #666666; | ||
border-right: 1px solid #666666; | ||||
line-height: 1.5em; | ||||
padding: 0 0.5em; | ||||
|
r52 | } | ||
|
r50 | tr.info-head { | ||
background: #777777; | ||||
color: white; | ||||
} | ||||
tr.info-odd { | ||||
|
r190 | background: #eeeeee; | ||
|
r50 | } | ||
tr.info-even { | ||||
|
r190 | background: #f9f9f9; | ||
|
r50 | } | ||
|
r51 | |||
|
r56 | /******************************* | ||
[Main] | ||||
********************************/ | ||||
div.submitbox { | ||||
|
r190 | background: #eeeeff; | ||
border: 1px dotted #99aaee; | ||||
|
r56 | padding: 5px; | ||
|
r190 | margin: 10px 0px; | ||
color: black; | ||||
|
r56 | font-size: 13px; | ||
} | ||||
|
r158 | div.errorExplanation { | ||
|
r190 | border: 1px dotted gray; | ||
color: #bb2222; | ||||
padding: 5px 15px 5px 15px; | ||||
|
r158 | margin-bottom: 5px; | ||
background-color: white; | ||||
|
r197 | font-weight: normal; | ||
} | ||||
div.errorExplanation h2 { | ||||
color: #cc1111; | ||||
font-weight: bold; | ||||
|
r158 | } | ||
|
r56 | /******************************* | ||
[Settings] | ||||
********************************/ | ||||
table.uinfo { | ||||
border-collapse: collapse; | ||||
border: 1px solid black; | ||||
font-size: 13px; | ||||
} | ||||
td.uinfo { | ||||
vertical-align: top; | ||||
border: 1px solid black; | ||||
padding: 5px; | ||||
} | ||||
th.uinfo { | ||||
background: lightgreen; | ||||
vertical-align: top; | ||||
text-align: right; | ||||
border: 1px solid black; | ||||
padding: 5px; | ||||
} | ||||
/******************************* | ||||
[Submission] | ||||
********************************/ | ||||
div.compilermsgbody { | ||||
font-family: monospace; | ||||
} | ||||
|
r51 | div.task-menu { | ||
text-align: center; | ||||
font-size: 13px; | ||||
|
r190 | line-height: 1.75em; | ||
|
r51 | font-weight: bold; | ||
|
r190 | border-top: 1px dashed gray; | ||
border-bottom: 1px dashed gray; | ||||
|
r51 | margin-top: 2px; | ||
margin-bottom: 4px; | ||||
} | ||||
|
r92 | |||
/******************************* | ||||
[Submission] | ||||
********************************/ | ||||
table.taskdesc { | ||||
|
r190 | border: 2px solid #dddddd; | ||
|
r92 | border-collapse: collapse; | ||
|
r190 | margin: 10px auto; | ||
width: 90%; | ||||
|
r93 | font-size: 13px; | ||
} | ||||
table.taskdesc p { | ||||
font-size: 13px; | ||||
|
r92 | } | ||
table.taskdesc tr.name { | ||||
|
r190 | border: 2px solid #dddddd; | ||
background: #dddddd; | ||||
color: #333333; | ||||
|
r92 | font-weight: bold; | ||
font-size: 14px; | ||||
|
r190 | line-height: 1.5em; | ||
|
r92 | text-align: center; | ||
} | ||||
table.taskdesc td.desc-odd { | ||||
padding: 5px; | ||||
|
r93 | padding-left: 20px; | ||
|
r92 | background: #fefeee; | ||
} | ||||
table.taskdesc td.desc-even { | ||||
padding: 5px; | ||||
|
r93 | padding-left: 20px; | ||
|
r92 | background: #feeefe; | ||
} | ||||
|
r97 | |||
/********************** | ||||
|
r190 | Announcement | ||
|
r97 | ***********************/ | ||
div.announcementbox { | ||||
|
r190 | margin: 10px 0px; | ||
background: #bbddee; | ||||
|
r101 | padding: 1px; | ||
|
r97 | } | ||
div.announcementbox span.title { | ||||
font-weight: bold; | ||||
|
r190 | color: #224455; | ||
|
r97 | padding-left: 10px; | ||
|
r190 | line-height: 1.6em; | ||
|
r97 | } | ||
div.announcement { | ||||
margin: 2px; | ||||
background: white; | ||||
|
r101 | padding: 1px; | ||
|
r97 | padding-left: 10px; | ||
padding-right: 10px; | ||||
|
r192 | padding-top: 5px; | ||
padding-bottom: 5px; | ||||
|
r97 | } | ||
|
r192 | .announcement p { | ||
|
r101 | font-size: 12px; | ||
|
r192 | margin: 2px; | ||
|
r97 | } | ||
div.pub-info, div.pub-info p { | ||||
text-align: right; | ||||
font-style: italic; | ||||
|
r101 | font-size: 9px; | ||
} | ||||
|
r102 | |||
|
r192 | .announcement .toggles { | ||
font-weight: normal; | ||||
float: right; | ||||
font-size: 80%; | ||||
} | ||||
.announcement .announcement-title { | ||||
font-weight: bold; | ||||
} | ||||
|
r102 | /****************** | ||
|
r190 | Messages | ||
|
r102 | ******************/ | ||
div.message { | ||||
|
r190 | margin: 10px 0 0; | ||
} | ||||
div.message div.message { | ||||
margin: 0 0 0 30px; | ||||
|
r102 | } | ||
div.message div.body { | ||||
|
r190 | border: 2px solid #dddddd; | ||
background: #fff8f8; | ||||
|
r102 | padding-left: 5px; | ||
} | ||||
div.message div.reply-body { | ||||
|
r190 | border: 2px solid #bbbbbb; | ||
background: #fffff8; | ||||
|
r102 | padding-left: 5px; | ||
} | ||||
div.message div.stat { | ||||
font-size: 10px; | ||||
|
r190 | line-height: 1.75em; | ||
padding: 0 5px; | ||||
color: #333333; | ||||
background: #dddddd; | ||||
font-weight: bold; | ||||
} | ||||
div.message div.message div.stat { | ||||
font-size: 10px; | ||||
line-height: 1.75em; | ||||
padding: 0 5px; | ||||
color: #444444; | ||||
background: #bbbbbb; | ||||
|
r102 | font-weight: bold; | ||
} | ||||
|
r162 | |||
/******************** | ||||
Registration | ||||
********************/ | ||||
div.contest-title { | ||||
color: white; | ||||
text-align: center; | ||||
|
r190 | line-height: 2em; | ||
|
r162 | } | ||
div.registration-desc { | ||||
|
r190 | border: 1px dotted gray; | ||
background: #f5f5f5; | ||||
padding: 5px; | ||||
margin: 10px 0; | ||||
font-size: 12px; | ||||
line-height: 1.5em; | ||||
|
r162 | } | ||
/******************** | ||||
[Test Interface] | ||||
********************/ | ||||
div.test-desc { | ||||
|
r190 | border: 1px dotted gray; | ||
background: #f5f5f5; | ||||
|
r162 | padding: 5px; | ||
|
r190 | margin: 10px 0; | ||
|
r162 | font-size: 12px; | ||
|
r190 | line-height: 1.5em; | ||
|
r162 | } | ||