-
Notifications
You must be signed in to change notification settings - Fork 0
/
fun.html
191 lines (183 loc) · 6.41 KB
/
fun.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Christopher Robison's Fun Creations</title>
<link rel="canonical" href="https://cdr2.com/crblog/fun.html" />
<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=Lexend:wght@100;200;300;400;500;600;700;800;900&family=Titillium+Web:wght@200;300;400;600;700;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="/crblog/assets/fontawesome-free-6.4.0-web/css/all.min.css">
<link rel="stylesheet" href="/crblog/assets/css/adminlte.css">
<style>
ul#funlist {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: flex-start;
}
ul#funlist li {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
margin: 0.5rem;
padding: 1rem;
border: 1px solid #0003;
box-shadow: 0.125rem 0.125rem 0.25rem #0003;
text-align: center;
width: 17rem;
transition: all 50ms linear;
transform: scale(1);
}
ul#funlist li:hover {
transform: scale(1.1);
}
.fun-desc {
font-size: 0.8em;
font-weight: 300;
}
.fun-link {
color: #000;
font-weight: 700;
font-size: 1.1rem;
}
.fun-link:hover {
text-decoration: underline;
}
.screenshot {
border: 3px solid #000;
}
</style>
</head>
<body class="hold-transition iframe-mode sanserif">
<!-- Site wrapper -->
<div class="wrapper">
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1>Fun Stuff</h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item active">Fun</li>
</ol>
</div>
</div>
</div><!-- /.container-fluid -->
</section>
<!-- Main content -->
<section class="content sanserif" style="flex-direction:column;">
<div class="blog sanserif">
<h1>Entertaining Things</h1>
<hr>
<blockquote style="font-size:0.9em;font-weight:300;">
Fun is one of the most important - and underrated - ingredients in any successful venture. If you're not having fun, then it's probably time to call it quits and try something else.
<cite>-- Sir Richard Branson</cite>
</blockquote>
<hr>
<p>This is a small collection of some of the silly, fun projects I've done in the past that are the result of
recreational programming, trying out various ideas or demonstrating something new.
None of these are meant to be complete;
They are "works-in-progress" that I'll touch from time to time and improve on. Some are
more complete than others, some things may not even run. They are just for fun. So enjoy!
</p>
</div>
<div class="sanserif">
<ul id="funlist">
<li>
<a href="https://quickconquest.com" target="_blank">
<img src="/crblog/assets/img/quickconquest.png" class="screenshot"><br>
Quick Conquest
</a>
</li>
<li>
<a href="https://cdr2.com/jobfun/" target="_blank">
<img src="/crblog/assets/img/jobhunt.gif" class="screenshot"><br>
Job Hunt Simulator
</a>
</li>
<li>
<a href="https://cdr2.com/bees/" target="_blank">
<img src="/crblog/assets/img/bees2.gif" class="screenshot"><br>
The Bees
</a>
</li>
<li>
<a href="https://cdr2.com/carlton-css/" target="_blank">
<img src="/crblog/assets/img/carlton.gif" class="screenshot"><br>
Pure CSS Carlton Dance
</a>
</li>
</ul>
</div>
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<footer class="main-footer">
<div class="float-right d-none d-sm-block">
</div>
<strong>Copyright © 2024 <a href="https://cdr2.com">Christopher Robison</a>.</strong> All rights reserved.
</footer>
<!-- Control Sidebar -->
<aside class="control-sidebar control-sidebar-dark">
<!-- Control sidebar content goes here -->
</aside>
<!-- /.control-sidebar -->
</div>
<!-- ./wrapper -->
<!-- jQuery -->
<script src="/crblog/assets/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="/crblog/assets/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="/crblog/assets/js/adminlte.min.js"></script>
<script>
(function() {
const $ = str => document.querySelector(str);
const $$ = str => document.querySelectorAll(str);
let app = {
init: function() {
fetch("nav/games.json").then(r=>r.json()).then(data=>{
app.data = data;
let out = app.makeList(data);
$("#funlist").innerHTML = out;
if (parent && parent.fixIframeHeight) parent.fixIframeHeight();
});
},
makeList: function(data) {
let out = "";
for (const item of data) {
// loadTab: function(url="home.html", title="New Tab", name="newtab", autoshow=true, evt) {
let tabname = item.title.replace(/\W/g, '');
out += `<li>
<a href="${item.link}" class="fun-link" onclick="return parent.app.loadTab('${item.link}', '${item.title}', '${tabname}', true, event)" target="_blank">
<img src="${item.screenshot}" class="screenshot"><br>
<div class="fun-title">${item.title}</div>
</a>
<div class="fun-desc">${item.desc}</div>
</li>`;
}
return out;
},
data: {
},
state: {
}
};
window.app = app;
app.init();
})();
</script>
</body>
</html>