Skip to content

Commit

Permalink
Merge pull request #20 from Sutrannu/2024-11-31
Browse files Browse the repository at this point in the history
Race update and dynamic formatting
  • Loading branch information
Sutrannu authored Nov 28, 2024
2 parents 348870a + 5ec7576 commit f14a3d5
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 32 deletions.
6 changes: 3 additions & 3 deletions content/race/2024-12-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ layout: race
tags:
- race
params:
car_image: unknown-car.png
callout: F* one December!
car_image: 2024-12-01-car.png
callout: F-1 December!
car_by: Belaraphon
tune_by: Baumbatz
car: 2020 Ford Stuper Doody F450
share_code: ...
share_code: "133 312 397"
---

{{< race >}}
2 changes: 1 addition & 1 deletion layouts/partials/head-additions.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Atma&display=swap" rel="stylesheet">
56 changes: 28 additions & 28 deletions static/css/race.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#ad_frame {
background-color:white;
border: solid 1px #000;
width: 1080px;
height: 720px;
margin: 50px auto 5px auto;
font-size: 28pt;
width: 80vw;
height: 45vw;
margin: 10px auto 5px auto;
font-size: 2vw;
position: relative;
background-image: url("../images/ad-bg.jpg");
background-position: center;
Expand All @@ -14,7 +14,7 @@
}
#ad_frame .text {
position: absolute;
font-family: "Indie Flower", cursive;
font-family: "Atma", cursive;
font-weight: 400;
font-style: normal;
text-align: center;
Expand All @@ -29,17 +29,17 @@
}
#ad_frame .text span.label {
display: block;
font-size: 80%;
font-size: 2vw;
margin: 5px;
}
#ad_frame .text span.by {
font-size: 80%;
font-size: 1.5vw;
}
#ad_frame #glamour {
border: solid 1px #000;
width: 80%;
height: 80%;
margin: 6% auto;
width: 70vw;
height: 40vw;
margin: 2vw auto;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Expand All @@ -51,30 +51,30 @@
}
#ad_frame #call {
background-color:rgb(83,131,236);
width: 10em;
height: 1.8em;
top: 30px;
width: 25vw;
height: 4vw;
top: 2vw;
left: -10px;
padding: auto;
padding: 5px;
transform: rotate(-15deg);
}
#ad_frame #picktune {
background-color: #F3AF56;
width: 15em;
height: 2.5em;
top: 580px;
left: 580px;
padding: 15px 0 0 0;
width: 25vw;
height: 5.5vw;
top: 37vw;
left: 56vw;
padding: 10px 0 0 0;
transform: rotate(-15deg);
line-height: .7em;
line-height: .8em;
color: #595959;
}
#ad_frame #car {
background-color: #48752C;
width: 10em;
height: 1.8em;
top: 600px;
left: -10px;
width: 25vw;
height: 4vw;
top: 39vw;
left: -1vw;
padding: auto;
transform: rotate(15deg);
text-wrap: nowrap;
Expand All @@ -84,10 +84,10 @@
}
#ad_frame #code {
background-color: #634FA2;
width: 10em;
height: 2.2em;
top: 30px;
left: 700px;
width: 25vw;
height: 5vw;
top: 2vw;
left: 55vw;
padding: auto;
transform: rotate(15deg);
line-height: .7em;
Expand Down
Binary file added static/images/2024-12-01-car.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f14a3d5

Please sign in to comment.