Skip to content

Commit 78286c6

Browse files
committed
No boxshadow on notice modules in sidebar
1 parent 6d6180f commit 78286c6

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

layouts/sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ <h3><a href="#" class="js-expand-btn collapsed arrow-btn"></a><a href="/v3/users
107107
</li>
108108
</ul>
109109
</div> <!-- /sidebar-module -->
110-
<div class="sidebar-module">
110+
<div class="sidebar-module notice">
111111
<p>This website is a <a href="https://github.com/github/developer.github.com" target="_blank">public GitHub repository</a>. Please help us by forking the project and adding to it.</p>
112112
</div>
113113
</div><!-- /sidebar-shell -->

static/shared/css/documentation.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,17 +458,22 @@ a img {
458458
margin: 0px;
459459
}
460460

461-
.sidebar-module > p {
461+
.sidebar-module.notice {
462462
background: #fafafb;
463463
border: solid #CACACA;
464464
border-width: 1px;
465465
padding: 12px;
466-
margin: 0px;
466+
margin: 30px 0 0;
467467
display: block;
468468
line-height: 1.4em;
469469
border-radius: 4px;
470470
line-height: 1.5em;
471471
box-shadow: none;
472+
box-sizing: border-box;
473+
}
474+
475+
.sidebar-module.notice p {
476+
margin: 0;
472477
}
473478

474479
.sidebar-module li {

0 commit comments

Comments
 (0)