Link to cheatsheet request
This commit is contained in:
parent
df60f986c6
commit
fb82f88bc6
|
@ -59,6 +59,12 @@ type: website
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
<div class='message item missing-message'>
|
||||
<h3>See something missing?</h3>
|
||||
<p>
|
||||
<a class='push-button' href='{{ site.github.repository_url }}/issues/new?title=Cheatsheet%20request:%20APP_NAME_HERE'>Request cheatsheet</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
.missing-message.missing-message {
|
||||
text-align: center;
|
||||
border: solid 1px $dark-line-color;
|
||||
margin: 32px 0;
|
||||
padding: 16px;
|
||||
|
||||
& > h3,
|
||||
& > p {
|
||||
margin: 16px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
& > h3 {
|
||||
@include font-size(1);
|
||||
font-weight: normal;
|
||||
color: $base-text;
|
||||
}
|
||||
|
||||
& > p {
|
||||
color: $base-mute;
|
||||
}
|
||||
}
|
||||
|
||||
.push-button {
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
padding: 8px 16px;
|
||||
border-radius: 3px;
|
||||
|
||||
&,
|
||||
&:visited {
|
||||
background: $base-a;
|
||||
color: white;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: darken($base-a, 16%);
|
||||
box-shadow: none;
|
||||
color: white;
|
||||
}
|
||||
}
|
|
@ -7,7 +7,10 @@
|
|||
}
|
||||
|
||||
> .item {
|
||||
padding: 4px 0;
|
||||
flex: 0 0 100%;
|
||||
}
|
||||
|
||||
> .item.article {
|
||||
flex: 0 0 50%;
|
||||
}
|
||||
|
||||
|
@ -23,6 +26,7 @@
|
|||
text-decoration: none;
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
padding: 4px 0;
|
||||
|
||||
&,
|
||||
&:visited {
|
||||
|
@ -66,5 +70,4 @@
|
|||
padding: 0 0 16px 0;
|
||||
font-weight: normal;
|
||||
color: $base-b;
|
||||
flex: 0 0 100%;
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
@import './components/h3-section-list';
|
||||
@import './components/headline-ad';
|
||||
@import './components/main-heading';
|
||||
@import './components/missing-message';
|
||||
@import './components/notice-box';
|
||||
@import './components/page-actions';
|
||||
@import './components/pages-list';
|
||||
|
|
|
@ -11,6 +11,8 @@ updated: 201708
|
|||
<meta charset='utf-8'>
|
||||
```
|
||||
|
||||
Title
|
||||
|
||||
```html
|
||||
<!-- title -->
|
||||
<title>···</title>
|
||||
|
|
Loading…
Reference in New Issue