Description:
[web] more styling
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@176 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r90:471574e170b4 - - 1 file changed: 5 inserted, 3 deleted
@@ -1,5 +1,7 | |||||
|
1 | %a{:name => problem.name} |
|
1 | %a{:name => problem.name} |
|
2 | - %h3= "#{problem.full_name} (#{problem.name})" |
|
2 | + - back_color = ((problem_counter % 2) == 0) ? "#fefedd" : "#feeefe" |
|
3 | - %pre |
|
3 | + %div{:style => "border: 1px solid grey; background: #{back_color}; padding-left: 20px;"} |
|
4 | - %div{:style => "border: 1px solid grey; background: #eeeeee"} |
|
4 | + %div{:style => "border-bottom: 1px solid black; padding: 5px; margin: 5px; font-size: 18px; font-weight: bold"} |
|
|
5 | + = "#{problem.full_name} (#{problem.name})" | ||
|
|
6 | + %pre | ||
|
5 | = problem.body || "(not available)" |
|
7 | = problem.body || "(not available)" |
You need to be logged in to leave comments.
Login now