Included styling and template

This commit is contained in:
Julian Arni
2013-02-25 18:18:46 -05:00
parent 0a47f27fa7
commit edba0978cf
4 changed files with 66 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
$leaderboard: #F4F4F4;
section.foldit {
div.folditchallenge {
table {
border: 1px solid lighten($leaderboard, 10%);
border-collapse: collapse;
margin-top: 20px;
}
th {
background: $leaderboard;
color: darken($leaderboard, 25%);
}
td {
background: lighten($leaderboard, 3%);
border-bottom: 1px solid #fff;
padding: 8px;
}
}
}

View File

@@ -12,7 +12,7 @@ log = logging.getLogger(__name__)
class FolditModule(XModule):
css = {'scss': [resource_string(__name__, 'css/foldit/leadeboard.scss')]}
css = {'scss': [resource_string(__name__, 'css/foldit/leaderboard.scss')]}
def __init__(self, system, location, definition, descriptor,
instance_state=None, shared_state=None, **kwargs):