Link to cheatsheet request

This commit is contained in:
Rico Sta. Cruz 2017-08-29 05:07:47 +08:00
parent df60f986c6
commit fb82f88bc6
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
5 changed files with 56 additions and 2 deletions

View File

@ -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>

View File

@ -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;
}
}

View File

@ -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%;
}

View File

@ -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';

View File

@ -11,6 +11,8 @@ updated: 201708
<meta charset='utf-8'>
```
Title
```html
<!-- title -->
<title>···</title>