38 lines
916 B
CSS
38 lines
916 B
CSS
/* all images showing the Casio font */
|
|
.pixelated {
|
|
/* do not blur the pixels into each other when scaling up */
|
|
image-rendering: -moz-crisp-edges; /* Firefox */
|
|
image-rendering: -o-crisp-edges; /* Opera */
|
|
image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */
|
|
image-rendering: crisp-edges;
|
|
image-rendering: pixelated;
|
|
-ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
|
|
|
|
/* speed of the hover effect */
|
|
transition: -webkit-transform 0.25s ease;
|
|
}
|
|
|
|
.pixelated:hover {
|
|
/* hover effect: zoom in */
|
|
-webkit-transform: scale(7);
|
|
}
|
|
|
|
/* the images showing the normal font */
|
|
.normal_font {
|
|
height: 1em;
|
|
}
|
|
|
|
/* the images showing the mini font */
|
|
.mini_font {
|
|
height: 0.71em;
|
|
}
|
|
|
|
|
|
/* increase the width of the whole body */
|
|
html {
|
|
max-width: 70em !important;
|
|
}
|
|
|
|
body {
|
|
max-width: 70em !important;
|
|
} |