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
img[style*='float: r'] { | |
margin: $colPadding 0 $colPadding $colPadding; | |
} | |
img[style*='float: l'] { | |
margin: $colPadding $colPadding $colPadding 0; | |
} |
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
$termsIcons: ( | |
1 : ('e91c','e91d'), | |
2 : ('e919','e918'), | |
3 : ('e91e','e91f'), | |
4 : ('e91a','e91b'), | |
); | |
.page-taxonomy-term { | |
.title-container { |
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
/* hamburger */ | |
&:after, &:before { | |
content: ""; | |
position: absolute; | |
right: 0; | |
top: 50%; | |
width: $menuUnit * 6; | |
background: $white; | |
height: $menuUnit; |
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
\s*<span>\s*(?:[^<]*|(?R))\s*<\/span>\s* | |
$re = '/\s*<span>\s*(?:[^<]*|(?R))\s*<\/span>\s*/imsU'; |
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 | |
$page = file_get_contents('https://risorse.arcipelagoeducativo.it/risorse/crucipuzzle-dellorientamento'); | |
$title_re = '/<title>([^\/]+)<\/title>/m'; | |
preg_match_all($title_re, $page, $matches, PREG_SET_ORDER, 0); | |
$title = $matches[0][1]; |
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
.cost-example--value:nth-child(3) { | |
position: relative; | |
} | |
.cost-example--value:nth-child(3)::after { | |
content: "Il più urgente"; | |
position: absolute; | |
z-index: 9000; | |
font-size: 10px; | |
text-align: center; |
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
.ajax-progress { | |
position: fixed; | |
text-align: center; | |
color: $teal; | |
padding: 20px 20px 0 20px; | |
width: auto; | |
height: auto; | |
font-weight: 700; | |
font-size: 5rem; | |
z-index: 90210; |
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
precalculateColorTransition = function(fromHex, toHex, steps=30) { | |
const fromRGB = [ parseInt(fromHex.substr(0, 2), 16), | |
parseInt(fromHex.substr(2, 2), 16), | |
parseInt(fromHex.substr(4, 2), 16) | |
]; | |
const toRGB = [ parseInt(toHex.substr(0, 2), 16), | |
parseInt(toHex.substr(2, 2), 16), | |
parseInt(toHex.substr(4, 2), 16) |
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
@media only screen and (max-width: 900px) { | |
* { | |
display: none; | |
} | |
} |
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
document.querySelectorAll('*[data-eventchip]').forEach( (e) => { | |
e.style.filter="blur(4px)"; | |
}) |
OlderNewer