This file contains hidden or 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
/* | |
minimum: 12 | |
maximum: 14 | |
scales between 12-14 until 992 breakpoint | |
1.41129032vw = 14/992*100 = max / breakpoint * 100 | |
*/ | |
/*font-size: max(min(14px, 1.41129032vw), 12px);*/ | |
--size-font-minimum: calc(var(--size-font-xxsmall) / var(--size-font-root) * 1rem); | |
--size-font-maximum: calc(var(--size-font-small) / var(--size-font-root) * 1rem); | |
--breakpoint-max-px: 992; |
This file contains hidden or 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
{ | |
"name": "table", | |
"version": "1.0.0", | |
"description": "", | |
"main": "add.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"watch:php": "watch -p 'components/**/*.php' -c 'npm run convert:php'", | |
"convert:php": "echo $FILENAME && my_file=$FILENAME && new_name=${my_file/php/html} && echo ${new_name} && curl -o ${new_name} http://localhost/~nils/tests/table/$FILENAME" | |
}, |
This file contains hidden or 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 | |
/* This is Bastian's original file extended with the function for the quote tag. This file goes in the plugins folder */ | |
class kirbytextExtended extends kirbytext { | |
function __construct($text, $markdown=true) { | |
parent::__construct($text, $markdown); |
This file contains hidden or 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
blockquote, q { | |
quotes: none; | |
} | |
q:before, blockquote:before { | |
content: open-quote; | |
} | |
blockquote:before { | |
margin-left: -0.5em; | |
} | |
q:after, blockquote:after { |
This file contains hidden or 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
.some-class { | |
text-overflow: ellipsis; | |
overflow: hidden; | |
width: 14em; /* or max-width */ | |
white-space: nowrap; | |
display: block; /* or inline-block */ | |
} | |
/* | |
Note: in Chrome (Version 21.0.1180.15) this does not work correctly if -webkit-font-feature-settings:"liga", "dlig"; is set. |