polices
This commit is contained in:
parent
32e60fd8a3
commit
d5715c354e
@ -122,7 +122,8 @@ right:15px;
|
||||
color:white;
|
||||
padding:1px;
|
||||
|
||||
font-family:Felt Tip Roman;
|
||||
font-family:"felt-tip-roman";
|
||||
font-weight:normal;
|
||||
#myCanvas{
|
||||
|
||||
|
||||
|
@ -7,11 +7,40 @@
|
||||
= javascript_include_tag "application"
|
||||
|
||||
= csrf_meta_tag
|
||||
<script type="text/javascript" src="//use.typekit.net/bkj8nbt.js"></script>
|
||||
|
||||
:javascript
|
||||
try {
|
||||
Typekit.load({
|
||||
active: function() {
|
||||
|
||||
$(document).ready(function() {
|
||||
if( ! $('#myCanvas').tagcanvas({
|
||||
textColour : '#ffffff',
|
||||
outlineThickness : 1,
|
||||
depth:0.5,
|
||||
lock:"xy",
|
||||
initial: [0.1,-0.01],
|
||||
shape:"vcylinder",
|
||||
stretchX:1.5,
|
||||
stretchY:0.9,
|
||||
maxSpeed : 0.02,
|
||||
outlineMethod : "none",
|
||||
wheelZoom :false,
|
||||
textFont :"felt-tip-roman" ,
|
||||
textHeight : 30,
|
||||
})) {
|
||||
// TagCanvas failed to load
|
||||
$('#myCanvasContainer').hide();
|
||||
}
|
||||
// your other jQuery stuff here...
|
||||
});
|
||||
}
|
||||
})
|
||||
} catch(e) {}
|
||||
= stylesheet_link_tag 'application'
|
||||
|
||||
<script type="text/javascript" src="//use.typekit.net/bkj8nbt.js"></script>
|
||||
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
|
||||
|
||||
|
||||
%body
|
||||
#home
|
||||
@ -268,27 +297,7 @@
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
if( ! $('#myCanvas').tagcanvas({
|
||||
textColour : '#ffffff',
|
||||
outlineThickness : 1,
|
||||
depth:0.5,
|
||||
lock:"xy",
|
||||
initial: [0.1,-0.01],
|
||||
shape:"vcylinder",
|
||||
stretchX:1.5,
|
||||
stretchY:0.9,
|
||||
maxSpeed : 0.02,
|
||||
outlineMethod : "none",
|
||||
wheelZoom :false,
|
||||
textFont :"Felt Tip Roman" ,
|
||||
textHeight : 30,
|
||||
})) {
|
||||
// TagCanvas failed to load
|
||||
$('#myCanvasContainer').hide();
|
||||
}
|
||||
// your other jQuery stuff here...
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
#realisations
|
||||
|
Loading…
x
Reference in New Issue
Block a user