Skip to content

Commit 3b3cf67

Browse files
committed
Add Can I use
1 parent 4b0b9e0 commit 3b3cf67

89 files changed

Lines changed: 381 additions & 37 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

_includes/collections/animations.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

_includes/collections/box-model.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_includes/collections/flexbox.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_includes/collections/positioning.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_includes/collections/transitions.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_includes/collections/typography.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_includes/lists/main-list.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

_includes/menu.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,6 @@
8989
<p class="footer-title">
9090
<strong>{{site.subtitle}}</strong> <small>Created by <a href="https://twitter.com/jgthms">@jgthms</a></small>
9191
</p>
92-
<div class="footer-facebook">
93-
<iframe class="footer-iframe" data-src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fcssreference%2F&width=100&layout=button_count&action=like&size=small&show_faces=false&share=false&height=20&appId=1212191075486670" width="100" height="20" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
94-
</div>
95-
<div class="footer-github">
96-
<iframe class="footer-iframe" data-src="https://ghbtns.com/github-btn.html?user=jgthms&repo=css-reference&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
97-
</div>
98-
<!-- <p class="footer-share footer-share--contribute">
99-
<strong class="footer-share-label">Contribute</strong>
100-
<a class="footer-share-button is-github" href="https://github.com/jgthms/css-reference" target="_blank">
101-
{% include svg/github.html %}
102-
</a>
103-
</p> -->
10492
<p class="footer-share footer-share--social">
10593
<strong class="footer-share-label">Share</strong>
10694
<a class="footer-share-button is-twitter"
@@ -120,4 +108,16 @@
120108
</a>
121109
<a id="menu-nav-open" class="footer-share-nav">Menu</a>
122110
</p>
111+
<div class="footer-facebook">
112+
<iframe class="footer-iframe" data-src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fcssreference%2F&width=100&layout=button_count&action=like&size=small&show_faces=false&share=false&height=20&appId=1212191075486670" width="100" height="20" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
113+
</div>
114+
<div class="footer-github">
115+
<iframe class="footer-iframe" data-src="https://ghbtns.com/github-btn.html?user=jgthms&repo=css-reference&type=star&count=true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
116+
</div>
117+
<!-- <p class="footer-share footer-share--contribute">
118+
<strong class="footer-share-label">Contribute</strong>
119+
<a class="footer-share-button is-github" href="https://github.com/jgthms/css-reference" target="_blank">
120+
{% include svg/github.html %}
121+
</a>
122+
</p> -->
123123
</footer>

_layouts/collection.html

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,30 @@
3030
{% include menu.html %}
3131
<main class="main">
3232
<header class="heading">
33-
<h1 class="heading-title">
34-
<strong>{{page.collection_name}}</strong> in CSS
35-
</h1>
36-
<p class="heading-description">The CSS properties that allow you to {{page.description}}</p>
33+
<div class="heading-content">
34+
<h1 class="heading-title">
35+
<strong>{{page.collection_name}}</strong> in CSS
36+
</h1>
37+
<p class="heading-description">The CSS properties that allow you to {{page.description}}</p>
38+
</div>
39+
<p class="heading-share">
40+
<strong class="heading-share-label">Share this page</strong>
41+
<a class="heading-share-button is-twitter"
42+
data-social-network="Twitter"
43+
data-social-action="tweet"
44+
data-social-target="{{site.url}}{{page.url}}"
45+
href="https://twitter.com/intent/tweet?url={{site.url | url_encode}}{{page.url | url_encode}}&text={{page.collection_name | prepend: 'Learn how ' | append: ' works in CSS' | url_encode}}"
46+
rel="external nofollow"
47+
target="_blank">
48+
{% include svg/twitter.html %}
49+
</a>
50+
<a class="heading-share-button is-facebook"
51+
href="http://www.facebook.com/sharer.php?u={{site.url | url_encode}}{{page.url | url_encode}}"
52+
rel="external nofollow"
53+
target="_blank">
54+
{% include svg/facebook.html %}
55+
</a>
56+
</p>
3757
</header>
3858
<section class="list">
3959
{{content}}

css/website.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)