Skip to content

Instantly share code, notes, and snippets.

View artemsheludko's full-sized avatar
💭
💙💛✌️

Artem Sheludko artemsheludko

💭
💙💛✌️
View GitHub Profile
$columns: 12;
$container-base-width: 1200px;
$container-big-width: 1600px;
$container-offset: 20px;
$desktop: 992px;
$tablet: 768px;
$mobile: 576px;
$mq: ( $mobile:$columns, $tablet:$columns, $desktop:$columns );
@artemsheludko
artemsheludko / featured-posts.hbs
Created April 14, 2020 09:52
Featured Posts in Ghost
@artemsheludko
artemsheludko / cloudSettings
Last active March 10, 2020 07:20
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-03-10T07:20:15.106Z","extensionVersion":"v3.4.3"}
<ul>
<li><a href="">First item</a></li>
<li>Second item</li>
<li><a href="">Test</a></li>
<li><a href="">Test</a></li>
<li><a href="">Pre-last item</a></li>
<li><a href="">Last item</a></li>
</ul>
@artemsheludko
artemsheludko / webdev_online_resources.md
Created July 18, 2018 13:23 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
<!-- HTML -->
<div class="c-top" title="Top" data-icon="ei-chevron-up" data-size="s"></div>
<!-- SCSS -->
.c-top {
position: fixed;
bottom: 25px;
right: -100px;
z-index: 10;
width: 50px;
// HTML
<form action="" autocomplete="off">
<div class="form-item">
<input placeholder="Name" type="text" name="email" id="name" autocomplete="off" required>
<label for="email">Name:</label>
</div>
<div class="form-item">
<input placeholder="Email" type="email" name="email" id="email" autocomplete="off">
<label for="email">Email:</label>
</div>
@artemsheludko
artemsheludko / example-grid-jekyll.sass
Last active June 5, 2018 11:15
Пример сетки для Jekyll проектов.
// G R I D
$columns: 12
$container-offset: $base-spacing-unit
.o-container
width: 100%
padding-left: $container-offset
padding-right: $container-offset
margin: 0 auto
# Установка Jekyll
gem install bundler jekyll
jekyll new my-awesome-site
cd my-awesome-site
bundle exec jekyll serve
# Лимит вывода
{% for article in site.articles limit:3 %}
{% endfor %}
// HTML
<div class="triangle"></div>
// CSS
.triangle {
width: 0;
height: 0;
border-top: 20px solid #333;
border-left: 20px solid transparent;
border-right: 20px solid transparent;