-
Notifications
You must be signed in to change notification settings - Fork 0
/
tools.html
190 lines (182 loc) · 5.7 KB
/
tools.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Christopher Robison's Tools</title>
<link rel="canonical" href="https://cdr2.com/crblog/tools.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>
body {
background: #333;
}
.content-wrapper {
background: #141a20;
color: #ddd;
}
blockquote {
background: #000;
color: #ccc;
}
ul#toollist {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: flex-start;
}
ul#toollist li {
background-color:#fff;
color: #000;
display: flex;
flex-direction: column;
justify-content: flex-start;
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;
overflow: hidden;
height: 18rem;
transition: all 50ms linear;
transform: scale(1);
align-content: center;
}
ul#toollist li:hover {
transform: scale(1.1);
}
.tool-desc {
font-size: 0.8em;
font-weight: 300;
text-align: left;
}
.tool-link {
color: #000;
font-weight: 700;
font-size: 1.1rem;
}
.tool-link:hover {
text-decoration: underline;
}
.screenshot {
width: auto;
height: 8rem;
}
@media screen and (max-width: 600px) {
ul#toollist li {
width: 100%;
}
#toollist {
padding: 0;
margin: 0;
}
}
</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">
</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">Tools</li>
</ol>
</div>
</div>
</div><!-- /.container-fluid -->
</section>
<!-- Main content -->
<section class="content sanserif" style="flex-direction:column;">
<div class="blog sanserif">
<h1>Tools</h1>
<hr>
<blockquote style="font-size:0.9em;font-weight:300;">
Technology is nothing. What's important is that you have a faith in people, that they're basically good and smart, and if you give them tools, they'll do wonderful things with them.
<cite>-- Steve Jobs</cite>
</blockquote>
<hr>
<p>
A few online tools I've made that I find useful.
</p>
</div>
<div class="sanserif">
<ul id="toollist">
</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() {
if (parent && parent.fixIframeHeight) parent.fixIframeHeight();
fetch("nav/tools.json").then(r=>r.json()).then(data=>{
app.data = data;
let out = app.makeList(data);
$("#toollist").innerHTML = out;
});
},
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="tool-link" onclick="return parent.app.loadTab('${item.link}', '${item.title}', '${tabname}', true, event)" target="_blank">
<img src="${item.screenshot}" class="screenshot"><br>
<div class="tool-title">${item.title}</div>
</a>
<div class="tool-desc">${item.desc}</div>
</li>`;
}
return out;
},
data: {
},
state: {
}
};
window.app = app;
app.init();
})();
</script>
</body>
</html>