... | ... |
@@ -1442,3 +1442,96 @@ button.close { |
1442 | 1442 |
.footer { |
1443 | 1443 |
text-align:center; |
1444 | 1444 |
} |
1445 |
+ |
|
1446 |
+/* Font color */ |
|
1447 |
+.font-black { |
|
1448 |
+ color: #333; |
|
1449 |
+} |
|
1450 |
+.font-white { |
|
1451 |
+ color: white; |
|
1452 |
+} |
|
1453 |
+ |
|
1454 |
+/* Background color */ |
|
1455 |
+.bk-blue-light { |
|
1456 |
+ background:#E6F1F6; |
|
1457 |
+} |
|
1458 |
+.bk-black { |
|
1459 |
+ background:black; |
|
1460 |
+} |
|
1461 |
+.bk-gray-light { |
|
1462 |
+ background:#eee; |
|
1463 |
+} |
|
1464 |
+ |
|
1465 |
+/* Border radius */ |
|
1466 |
+.radius-top { |
|
1467 |
+ border-top-left-radius:4px; |
|
1468 |
+ border-top-right-radius:4px; |
|
1469 |
+} |
|
1470 |
+ |
|
1471 |
+.radius-bottom { |
|
1472 |
+ border-bottom-left-radius:4px; |
|
1473 |
+ border-bottom-right-radius:4px; |
|
1474 |
+} |
|
1475 |
+ |
|
1476 |
+.radius { |
|
1477 |
+ border-radius:4px; |
|
1478 |
+} |
|
1479 |
+ |
|
1480 |
+/* Border */ |
|
1481 |
+.border-gray { |
|
1482 |
+ border:1px solid #ccc; |
|
1483 |
+} |
|
1484 |
+.border-top-gray { |
|
1485 |
+ border-top:1px solid #ccc; |
|
1486 |
+} |
|
1487 |
+.border-bottom-gray { |
|
1488 |
+ border-bottom:1px solid #ccc; |
|
1489 |
+} |
|
1490 |
+ |
|
1491 |
+.border-blue { |
|
1492 |
+ border:1px solid #c5d5dd; |
|
1493 |
+} |
|
1494 |
+ |
|
1495 |
+/* Plain text */ |
|
1496 |
+.plain-text { |
|
1497 |
+ background : white; |
|
1498 |
+ border-radius : 1px; |
|
1499 |
+ border-top : none; |
|
1500 |
+ border-top-left-radius : 0; |
|
1501 |
+ font-size : 16px; |
|
1502 |
+ line-height : 1.5em; |
|
1503 |
+ margin-bottom : 80px; |
|
1504 |
+ padding : 27px; |
|
1505 |
+} |
|
1506 |
+ |
|
1507 |
+/* Markdown */ |
|
1508 |
+.markdown { |
|
1509 |
+ background : white; |
|
1510 |
+ border-radius : 1px; |
|
1511 |
+ border-top : none; |
|
1512 |
+ border-top-left-radius : 0; |
|
1513 |
+ font-size : 14px; |
|
1514 |
+ line-height : 1.5em; |
|
1515 |
+ margin-bottom : 80px; |
|
1516 |
+ padding : 27px; |
|
1517 |
+ font-color:#aaa; |
|
1518 |
+} |
|
1519 |
+ |
|
1520 |
+.markdown h1 { margin-bottom:10px; padding:10px 0; font-size: 36px; } |
|
1521 |
+.markdown h2 { margin: 0; font-size: 1.5em; } |
|
1522 |
+.markdown h3 { margin: 0; font-size: 1.17em; } |
|
1523 |
+.markdown h5 { margin: 0; font-size: .83em; } |
|
1524 |
+.markdown h6 { margin: 0; font-size: .75em; } |
|
1525 |
+ |
|
1526 |
+.markdown h1 { |
|
1527 |
+ border-bottom : 1px solid #DDDDDD; |
|
1528 |
+} |
|
1529 |
+ |
|
1530 |
+.markdown p { |
|
1531 |
+ margin : 0; |
|
1532 |
+ padding:10px 0; |
|
1533 |
+} |
|
1534 |
+ |
|
1535 |
+.markdown ul { |
|
1536 |
+ padding : 0 1em; |
|
1537 |
+} |
... | ... |
@@ -21,8 +21,8 @@ |
21 | 21 |
|
22 | 22 |
<div style="background:#f5f5f5"> |
23 | 23 |
<div class="container"> |
24 |
- <div class="row"> |
|
25 |
- <div class="span6"> |
|
24 |
+ <div> |
|
25 |
+ <div> |
|
26 | 26 |
<div style="overflow:hidden"> |
27 | 27 |
<h3 style="float:left;display:inline-block;font-size:19px;margin:0;padding-top:5px;"><a href="<%= url_for('/') %>">GitPrep</a></h3> |
28 | 28 |
% if ((url_for->path->parts->[0] || '') ne '_search') { |
... | ... |
@@ -32,7 +32,7 @@ |
32 | 32 |
% } |
33 | 33 |
</div> |
34 | 34 |
</div> |
35 |
- <div class="span6 text-right"> |
|
35 |
+ <div> |
|
36 | 36 |
<div style="margin:0; padding-top:12px"> |
37 | 37 |
% if ($api->logined) { |
38 | 38 |
% unless ($current_user eq 'admin') { |
... | ... |
@@ -56,8 +56,8 @@ |
56 | 56 |
% if (!$no_project_header && (defined $user || defined $project)) { |
57 | 57 |
<div style="padding-top:10px;background:#fafafa;border-bottom:1px solid #eee;margin-bottom:10px;"> |
58 | 58 |
<div class="container"> |
59 |
- <div class="row" style="margin-bottom:10px"> |
|
60 |
- <div class="span9"> |
|
59 |
+ <div style="margin-bottom:10px"> |
|
60 |
+ <div> |
|
61 | 61 |
<ul class="breadcrumb" style="margin:0;background:none;padding-left:0;font-size:16px;"> |
62 | 62 |
<li><a href="<%= url_for('/') %>"><i class="icon-home"></i></a></li> |
63 | 63 |
/ |
... | ... |
@@ -82,7 +82,7 @@ |
82 | 82 |
</ul> |
83 | 83 |
</div> |
84 | 84 |
% if (defined $project) { |
85 |
- <div class="span3"> |
|
85 |
+ <div> |
|
86 | 86 |
<a class="btn" href="<%= url_for("/$user/$project/network") %>" >Network</a> |
87 | 87 |
% if ($logined && $current_user ne $user ) { |
88 | 88 |
<a href="<%= url_for("/$user/$project/fork") %>" class="btn">Fork</a> |
... | ... |
@@ -30,10 +30,6 @@ |
30 | 30 |
% } |
31 | 31 |
</head> |
32 | 32 |
<body> |
33 |
- %= stylesheet begin |
|
34 |
- %= include '/css/common'; |
|
35 |
- % end |
|
36 |
- |
|
37 | 33 |
%= content; |
38 | 34 |
</body> |
39 | 35 |
</html> |