Commit f68a97a6 by Kyle Fiedler

Added changes to wiki 404 and fixed CMS Sass

parent 63900ef4
...@@ -14,6 +14,11 @@ $yellow: #fff8af; ...@@ -14,6 +14,11 @@ $yellow: #fff8af;
$cream: #F6EFD4; $cream: #F6EFD4;
$border-color: #ddd; $border-color: #ddd;
// edX colors
$blue: rgb(29,157,217);
$pink: rgb(182,37,104);
@mixin hide-text { @mixin hide-text {
background-color: transparent; background-color: transparent;
border: 0; border: 0;
......
...@@ -767,6 +767,39 @@ section.wiki { ...@@ -767,6 +767,39 @@ section.wiki {
text-decoration: none; text-decoration: none;
} }
} }
.missing {
max-width: 400px;
margin: lh(2) auto;
display: block;
overflow: hidden;
background: $pink;
padding: lh();
@include box-shadow(inset 0 0 0 1px lighten($pink, 10%));
border: 1px solid darken($pink, 15%);
p {
color: #fff;
a {
display: block;
background: darken($pink, 8%);
margin: lh() (-(lh())) (-(lh()));
padding: lh();
border-top: 1px solid darken($pink, 15%);
color: #fff;
font-weight: bold;
font-size: em(18);
@include transition;
text-align: center;
-webkit-font-smoothing: antialiased;
&:hover {
background: darken($pink, 12%);
}
}
}
}
} }
.modal-backdrop { .modal-backdrop {
......
...@@ -10,9 +10,8 @@ ...@@ -10,9 +10,8 @@
{% block wiki_contents %} {% block wiki_contents %}
<div class="missing-wrapper"> <div class="missing">
<p>This article was not found, and neither was the parent. <a href="#">Go back to the main wiki article.</a></p> <p>This article was not found, and neither was its parent article. <a href="#">Go back to the main wiki article</a></p>
<button type="submit">Create a new article</button>
</div> </div>
{% endblock %} {% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment