Skip to content

Commit 3b24424

Browse files
committed
Update to Bootstrap 5.3.2
1 parent 46840cf commit 3b24424

6 files changed

Lines changed: 98 additions & 34 deletions

File tree

_includes/footer.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<footer class="container-fluid bg-dark text-light text-center py-5">
2+
<div class="container bg-dark justify-content-center text-center">
3+
<p class="align-center py-1"><b>Contact:</b> <a class="email" href="mailto:info@uncommonmodels.com">info@uncommonmodels.com</a></p>
4+
5+
<p class="align-center">
6+
&copy;
7+
<script>document.write(new Date().getFullYear())</script> Uncommon Models. All rights reserved.
8+
</p>
9+
</div>
10+
11+
</footer>

_includes/head.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<title>Uncommon Models | {{ page.title }}</title>
6+
<meta charset="utf-8">
7+
<link rel="shortcut icon" href="favicon.ico" type="image/icon">
8+
<link rel="icon" href="favicon.ico" type="image/icon">
9+
<meta name="viewport" content="width=device-width, initial-scale=1">
10+
<!-- CDN Imports (CSS & JS) -->
11+
12+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
13+
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/css/style.css">
14+
15+
16+
<!-- Custom JS -->
17+
<script src="{{ site.baseurl }}/js/main.js"></script>
18+
19+
<!-- Fonts -->
20+
<link rel="preconnect" href="https://fonts.googleapis.com">
21+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
22+
<link href="https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
23+
24+
<script type="importmap">
25+
{
26+
"imports": {
27+
"three": "https://unpkg.com/three@0.159.0/build/three.module.js",
28+
"three/addons/": "https://unpkg.com/three@0.159.0/examples/jsm/"
29+
}
30+
}
31+
</script>
32+
</head>
Binary file not shown.

css/style.css

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
body {
2-
background-image: linear-gradient(#000000, #393939);
2+
background-color: #393939;
3+
margin: 0;
4+
35
}
4-
.splash h1 {
6+
h1 {
57
font-family: 'League Spartan', sans-serif;
68
font-weight: 800;
79
color: white;
@@ -10,7 +12,7 @@ body {
1012
padding-bottom: 1vh;
1113
opacity: 1;
1214
}
13-
.splash h2 {
15+
h2 {
1416
font-family: 'League Spartan', sans-serif;
1517
font-weight: 300;
1618
color: #d9d9d9;
@@ -19,7 +21,31 @@ body {
1921
text-transform: uppercase;
2022
opacity: 1;
2123
}
22-
.splash h3 {
24+
.splash a {
25+
color: #a6a6a6;
26+
text-decoration: none;
27+
28+
}
29+
.splash a:hover{
30+
color: #d9d9d9;
31+
text-decoration: underline;
32+
}
33+
34+
.bg-dark {
35+
background-color: #171717 !important;
36+
}
37+
38+
.bg-dark a {
39+
color: #a6a6a6;
40+
text-decoration: none;
41+
42+
}
43+
.bg-dark a:hover{
44+
color: #d9d9d9;
45+
text-decoration: underline;
46+
}
47+
48+
h3 {
2349
font-family: 'League Spartan', sans-serif;
2450
font-weight: 300;
2551
color: #a6a6a6;
@@ -28,17 +54,16 @@ body {
2854
opacity: 1;
2955
}
3056
.splash {
31-
height: 100vh;
3257
background-attachment: local;
3358
background-size: cover;
59+
background-image: linear-gradient(#000000, #393939);
3460
align-content: center;
3561
align-items: center;
3662
text-align: center;
37-
vertical-align: middle;
38-
color: white;
63+
padding-bottom: 10vh;
3964
}
4065
#splash-content{
41-
padding-top: 30vh;
66+
padding-top: 20vh;
4267
}
4368
#splash-logo {
4469
max-width: 60%;

index.html

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,32 @@
1-
<!DOCTYPE html>
2-
<html lang="en">
1+
---
2+
title: Home
3+
---
34

4-
<head>
5-
<title>Uncommon Models</title>
6-
<meta charset="utf-8">
7-
<link rel="shortcut icon" href="favicon.ico" type="image/icon">
8-
<link rel="icon" href="favicon.ico" type="image/icon">
9-
<meta name="viewport" content="width=device-width, initial-scale=1">
10-
<!-- CDN Imports (CSS & JS) -->
11-
12-
13-
<link rel="stylesheet" type="text/css" href="css/style.css">
14-
15-
16-
<!-- Custom JS -->
17-
<!-- <script src="js/main.js"></script> -->
18-
19-
<!-- Fonts -->
20-
<link rel="preconnect" href="https://fonts.googleapis.com">
21-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
22-
<link href="https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
23-
24-
</head>
5+
{% include head.html %}
256

267
<body>
27-
<div class="container-fluid splash">
8+
<div class="bg-dark container-fluid splash">
289
<div class="container" id="splash-content">
2910
<img id="splash-logo" src="assets/img/UncommonModels.svg" />
30-
<h1>Uncommon Models</h1>
11+
<h1 class="py-4">Uncommon Models</h1>
3112
<h2>Production-Oriented <br/>Model Railroad <br/> Product Design</h2>
32-
<h3>sales@uncommonmodels.com</h3>
13+
<h3 class="py-4"><a class="email" href="mailto:sales@uncommonmodels.com">sales@uncommonmodels.com</a></h3>
3314
</div>
3415
</div>
16+
<div class="container text-center">
17+
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4">
18+
{% for post in site.posts %}
19+
<div class="row">
20+
<div class="card m-2 post-preview">
21+
22+
</div>
23+
</div>
24+
{% endfor %}
25+
</div>
26+
</div>
27+
3528
</body>
29+
30+
{% include footer.html %}
31+
3632
</html>

js/main.js

Whitespace-only changes.

0 commit comments

Comments
 (0)