Hover transition on images.

This commit is contained in:
robbieandrew
2024-11-14 14:06:09 +01:00
parent bd3bafc5b0
commit 509ea5664b
3 changed files with 7 additions and 2 deletions

View File

@@ -1,4 +1,3 @@
@font-face {
font-family: 'PT Sans Narrow';
font-style: normal;
@@ -45,6 +44,9 @@ h1,h2,h3,p {
margin-left:auto;
margin-right:auto;
}
.pure-img:hover {
transform: scale(1.02);
}
.subb {font-size: 70%;line-height:normal;}
.supp {font-size: 70%;line-height:normal;position:relative;top:-3px;}

View File

@@ -8,7 +8,7 @@
<meta name="twitter:creator" content="@robbie_andrew">
<meta name="twitter:title" content="Figures from the Global Carbon Budget 2024">
<meta name="twitter:description" content="The Global Carbon Budget 2024 was released on 13 November 2024. This page presents all of the figures in the Budget's presentation materials, in a variety of formats and often with data files.">
<meta name="twitter:image" content="https://robbieandrew.github.io/GCB2024/PNG/s11_2024_FossilFuel_and_Cement_emissions_1990.png">
<meta name="twitter:image" content="https://robbieandrew.github.io/GCB2024/GtC/PNG/s11_2024_FossilFuel_and_Cement_emissions_1990.png">
<base target="_blank">
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.6/build/pure-min.css" integrity="sha384-Uu6IeWbM+gzNVXJcM9XV3SohHtmWE+3VGi496jvgX1jyvDTXfdK+rfZc8C1Aehk5" crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.6/build/grids-responsive-min.css">

View File

@@ -44,6 +44,9 @@ h1,h2,h3,p {
margin-left:auto;
margin-right:auto;
}
.pure-img:hover {
transform: scale(1.02);
}
.subb {font-size: 70%;line-height:normal;}
.supp {font-size: 70%;line-height:normal;position:relative;top:-3px;}