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
/* | |
Imagine a setup of a two-column website | |
of course - you have to adapt the CSS to your needs. | |
PROs: | |
your responsive layout is adaptive to the font, not any arbitrary pixels. | |
You have control about the font, not about the pixels. | |
main.group | |
######################################################### |
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
// Distinct Vocabulary | |
illion | |
bi | |
tri | |
quadr | |
quint | |
sext | |
sept | |
oct |
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
page.bodyTag > | |
page.bodyTagCObject = TEXT | |
page.bodyTagCObject.value = <body class="{field:backend_layout}"> | |
// These are ALL the available field: variables that are available | |
uid => '1' (1 chars) | |
pid => '0' (1 chars) | |
t3ver_oid => '0' (1 chars) |
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 | |
namespace TYPO3\Mcserver\ViewHelper; | |
use \TYPO3\CMS\Mcserver\Utility as McUtility; | |
/** | |
* This class is a demo view helper for the Fluid templating engine. | |
* | |
* @author Martin Muzatko | |
* @package mcserver | |
* |
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
.group:before, | |
.group:after | |
{ | |
display: table; | |
} | |
.group:after | |
{ | |
clear: both; | |
} |
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
<section class="bg_social"> | |
<a title="Hier geht es zu unserer Facebook Seite" target="_blank" href="http://www.facebook.com/SoderImmo"> | |
<img alt="facebook" src="/themes/icons/facebook/facebook-24-black.png"> | |
</a> | |
<a title="Hier geht es zu unserer Google Seite" target="_blank" href="https://plus.google.com/u/0/111561047874732218409/about/p/pub"> | |
<img alt="google" src="/themes/icons/google/google-24-black.png"> | |
</a> | |
<a title="Hier geht es zu unserer Twitter Seite" target="_blank" href="https://twitter.com/RobertSoderP"> | |
<img alt="twitter" src="/themes/icons/twitter/twitter-24-black.png"> | |
</a> |
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
/** | |
* FLEX GRID is not available as standalone via angular Material anymore. We have to manually import it. | |
* | |
*/ | |
@-moz-document url-prefix() { | |
[layout-fill] { | |
margin: 0; | |
width: 100%; |
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.21) | |
// Compass (v1.0.3) | |
// ---- | |
$breakpoints: ( | |
(sm, 600px) | |
(md, 960px) | |
(lg, 1200px) | |
); |
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.21) | |
// Compass (v1.0.3) | |
// ---- | |
$layout-gutter-width: 16px !default; | |
$layout-breakpoint-sm: 960px !default; | |
$layout-breakpoint-md: 1280px !default; | |
$layout-breakpoint-lg: 1920px !default; |
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
(find, content) => { | |
// EXAMPLE | |
// find = 'route found' | |
// content = 'we found, that routes are commonly misinterpreted' | |
// return: 'we <b>found</b>, that <b>route</b>s are commonly misinterpreted' | |
var searchQueries = find.toLowerCase().split(' ') | |
// highlight all parts of strings that were found | |
for (var searchQuery in searchQueries) { | |
searchQuery = searchQueries[searchQuery] | |
if (!!~content.toLowerCase().indexOf(searchQuery)) { |
OlderNewer