Skip to content

Commit d6a2e29

Browse files
committed
docs(daux): add docs.css, add css for images
1 parent 97126c3 commit d6a2e29

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

daux/templates/layout/00_layout.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
echo "<link href='$css' rel='stylesheet' type='text/css'>";
2626
} ?>
2727

28+
<link href="<?= $base_url; ?>docs.css" rel="stylesheet" type="text/css">
29+
2830
<?php if ($params['html']['search']) {
2931
?>
3032
<!-- Tipue Search -->

docs/02_Developing/00_Starting_Up.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ webpack: bundle is now VALID.
8080
And then our default browser should open up to the app:
8181

8282

83-
<img src="/images/afs-screenshot.png" style="max-width: 800px; box-shadow: 0px 6px 6px -3px rgba(0, 0, 0, 0.2), 0px 10px 14px 1px rgba(0, 0, 0, 0.14), 0px 4px 18px 3px rgba(0, 0, 0, 0.12);" alt="App Screenshot">
83+
<img src="../images/afs-screenshot.png" alt="App Screenshot">
8484

8585

8686
Fantastic! We're now up and running with our Full-Stack Angular web application! So what can it do?
@@ -90,7 +90,7 @@ Fantastic! We're now up and running with our Full-Stack Angular web application!
9090
Assuming you scaffolded with a back-end database, you should see some 'features'. If you scaffolded with socket.io, you should see 'x' buttons next to each, and an input box. Try opening two browser windows to the same page side-by-side, and hitting the 'x' on one of the features. You should see the feature get removed on both web pages. Neat! This is because these database object changes are communicated to clients using socket.io.
9191

9292

93-
<img src="/images/socket.io-demo.gif" style="max-width: 800px; box-shadow: 0px 6px 6px -3px rgba(0, 0, 0, 0.2), 0px 10px 14px 1px rgba(0, 0, 0, 0.14), 0px 4px 18px 3px rgba(0, 0, 0, 0.12);" alt="Socket.io demo">
93+
<img src="../images/socket.io-demo.gif" alt="Socket.io demo screenshot">
9494

9595

9696
Neat. Let's see what else we can do.

docs/docs.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.s-content img {
2+
max-width: 800px;
3+
width: 100%;
4+
margin-bottom: 20px;
5+
box-shadow: 0px 6px 6px -3px rgba(0, 0, 0, 0.2),
6+
0px 10px 14px 1px rgba(0, 0, 0, 0.14),
7+
0px 4px 18px 3px rgba(0, 0, 0, 0.12);
8+
}

0 commit comments

Comments
 (0)