This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="c-code-block"> | |
<div class="c-code-block__meta" contenteditable="false" v-if="editable"> | |
<icon-btn | |
class="c-code-block__action-icon" | |
name="more" | |
:dropdown-props="{ closeOnClick: false }" | |
ref="icon" | |
> | |
<template v-slot:dropdown> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$args = array( | |
'posts_per_page' => 10, | |
'post_type' => 'your_custom_post_type', | |
'post_status' => 'publish', | |
's' => get_search_query() | |
); | |
$query = new WP_Query($args); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
=font-size($sizeValue: 1.6, $lineHeight: 1.5, $important: false) | |
@if $sizeValue != false | |
@if type-of($sizeValue) == number | |
@if unitless($sizeValue) | |
font-size: ($sizeValue * 10) + px if($important, !important, null) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.1.0-beta) | |
// ---- | |
// breakpoints | |
$small: 600px; | |
$medium: 800px; | |
$large: 1000px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.1.0-beta) | |
// ---- | |
// save options in map | |
// this have to be generated with php in a modules_options.scss | |
$module--text: ( | |
module--text--146: ( | |
color: #fff, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
margin: 0; | |
padding: 0; | |
font-weight: bold; | |
text-align: center; | |
box-sizing: border-box; | |
} | |
main, nav { | |
padding: 20px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
margin: 0; | |
padding: 0; | |
font-weight: bold; | |
text-align: center; | |
box-sizing: border-box; | |
} | |
.wrapper { | |
overflow: hidden; |