Changes for page Academy

Last modified by Erik Bakker on 2024/09/24 16:12

From version 30.1
edited by Erik Bakker
on 2022/04/21 15:48
Change comment: Added object
To version 26.1
edited by Erik Bakker
on 2022/04/21 15:41
Change comment: Added object

Summary

Details

XWiki.GadgetClass[1]
content
... ... @@ -1,89 +1,48 @@
1 1  {{html}}
2 -<html>
3 -<head>
4 -<meta name="viewport" content="width=device-width, initial-scale=1">
5 -<style>
6 -* {
7 - box-sizing: border-box;
8 -}
9 -
10 -body {
11 - font-family: Arial, Helvetica, sans-serif;
12 -}
13 -
14 -/* Float four columns side by side */
15 -.column {
16 - float: left;
17 - width: 25%;
18 - padding: 0 10px;
19 -}
20 -
21 -/* Remove extra left and right margins, due to padding */
22 -.row {margin: 0 -5px;}
23 -
24 -/* Clear floats after the columns */
25 -.row:after {
26 - content: "";
27 - display: table;
28 - clear: both;
29 -}
30 -
31 -/* Responsive columns */
32 -@media screen and (max-width: 600px) {
33 - .column {
34 - width: 100%;
35 - display: block;
36 - margin-bottom: 20px;
37 - }
38 -}
39 -
40 -/* Style the counter cards */
41 -.card {
42 - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
43 - padding: 16px;
44 - text-align: center;
45 - background-color: #f1f1f1;
46 -}
47 -</style>
48 -</head>
49 -<body>
50 -
51 -<h2>Responsive Column Cards</h2>
52 -<p>Resize the browser window to see the effect.</p>
53 -
54 -<div class="row">
55 - <div class="column">
56 - <div class="card">
57 - <h3>Card 1</h3>
58 - <p>Some text</p>
59 - <p>Some text</p>
60 - </div>
2 +<section class="info">
3 + <img src="https://codetheweb.blog/assets/img/icon2.png">
4 + <h1>Learn HTML &mdash; <a href="https://codetheweb.blog/" target="_blank">Code The Web</a></h1>
5 +</section>
6 +<section class="cards-wrapper">
7 + <div class="card-grid-space">
8 + <div class="num">01</div>
9 + <a class="card" href="https://codetheweb.blog/2017/10/06/html-syntax/" style="--bg-img: url(https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&resize_w=1500&url=https://codetheweb.blog/assets/img/posts/html-syntax/cover.jpg)">
10 + <div>
11 + <h1>HTML Syntax</h1>
12 + <p>The syntax of a language is how it works. How to actually write it. Learn HTML syntax…</p>
13 + <div class="date">6 Oct 2017</div>
14 + <div class="tags">
15 + <div class="tag">HTML</div>
16 + </div>
17 + </div>
18 + </a>
61 61   </div>
62 -
63 - <div class="column">
64 - <div class="card">
65 - <h3>Card 2</h3>
66 - <p>Some text</p>
67 - <p>Some text</p>
68 - </div>
20 + <div class="card-grid-space">
21 + <div class="num">02</div>
22 + <a class="card" href="https://codetheweb.blog/2017/10/09/basic-types-of-html-tags/" style="--bg-img: url('https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&resize_w=1500&url=https://codetheweb.blog/assets/img/posts/basic-types-of-html-tags/cover.jpg')">
23 + <div>
24 + <h1>Basic types of HTML tags</h1>
25 + <p>Learn about some of the most common HTML tags…</p>
26 + <div class="date">9 Oct 2017</div>
27 + <div class="tags">
28 + <div class="tag">HTML</div>
29 + </div>
30 + </div>
31 + </a>
69 69   </div>
70 -
71 - <div class="column">
72 - <div class="card">
73 - <h3>Card 3</h3>
74 - <p>Some text</p>
75 - <p>Some text</p>
76 - </div>
33 + <div class="card-grid-space">
34 + <div class="num">03</div>
35 + <a class="card" href="https://codetheweb.blog/2017/10/14/links-images-about-file-paths/" style="--bg-img: url('https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&resize_w=1500&url=https://codetheweb.blog/assets/img/posts/links-images-about-file-paths/cover.jpg')">
36 + <div>
37 + <h1>Links, images and about file paths</h1>
38 + <p>Learn how to use links and images along with file paths…</p>
39 + <div class="date">14 Oct 2017</div>
40 + <div class="tags">
41 + <div class="tag">HTML</div>
42 + </div>
43 + </div>
44 + </a>
77 77   </div>
78 -
79 - <div class="column">
80 - <div class="card">
81 - <h3>Card 4</h3>
82 - <p>Some text</p>
83 - <p>Some text</p>
84 - </div>
85 - </div>
86 -</div>
87 -</body>
88 -</html>
46 + <!-- https://images.unsplash.com/photo-1520839090488-4a6c211e2f94?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=38951b8650067840307cba514b554ba5&auto=format&fit=crop&w=1350&q=80 -->
47 +</section>
89 89  {{/html}}