fiddleSave.html
· 2.0 KiB · HTML
Ham
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
iframe {
width: 95vw;
max-height: 512px;
border: none;
}
.logo {
max-width: 75vw;
}
.leftbox {
font-size: 24pt;
background-color: #121224;
word-wrap: break-word;
margin-bottom: 15px;
border-radius: 5px;
padding-bottom: 5px;
display: inline-block;
width: 95vw;
}
.leftbar {
max-width: 95vw;
display:none;
}
.content {
background-color: #222;
padding: 5px 5px 5px 5px;
}
body {
background-color: #121212;
color: #DDD
}
a {
color: #F0F;
text-decoration: none;
}
.thumb {
background-color: #111;
border: solid 2px;
border-radius: 10px;
display: inline-block;
padding-left: 10px;
padding-right: 10px;
}
.float-right {
float: right;
}
.mobilebar {
font-size: 24px;
background-color: #000;
}
#mobilebutton {
display: none;
}
.menuicon {
font-size: 48px;
cursor: pointer;
}
#mobilebutton:checked + .leftbar {
display: block;
}
</style>
</head>
<body>
<!-- Mobile bar -->
<div class="mobilebar">
<label for="mobilebutton" class="menuicon">
☰
</label>
Wikyll
</div>
<input type="checkbox" name="mobilebutton" id="mobilebutton">
<!-- Widgets -->
<div class="leftbar">
<div class="leftbox">
<img class="logo" src="https://git.swee.codes/swee/Wikyll/raw/branch/main/files/wikyll.png">
<h1>Wikyll</h1>
<a href="/mainPage">Main Page</a>
</div>
<div class="leftbox">
<iframe src="https://swee.codes" height=512px>
</div>
</div>
<!-- Content -->
<div class="content">
<h1>Main Page</h1>
<p>Demonstrate the experience of the Mobile UI of Wikyll</p>
</div>
</body>
</html>
1 | <!DOCTYPE html> |
2 | <html lang="en"> |
3 | <head> |
4 | <meta charset="UTF-8"> |
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | <style> |
7 | iframe { |
8 | width: 95vw; |
9 | max-height: 512px; |
10 | border: none; |
11 | } |
12 | .logo { |
13 | max-width: 75vw; |
14 | } |
15 | .leftbox { |
16 | font-size: 24pt; |
17 | background-color: #121224; |
18 | word-wrap: break-word; |
19 | margin-bottom: 15px; |
20 | border-radius: 5px; |
21 | padding-bottom: 5px; |
22 | display: inline-block; |
23 | width: 95vw; |
24 | } |
25 | .leftbar { |
26 | max-width: 95vw; |
27 | display:none; |
28 | } |
29 | .content { |
30 | background-color: #222; |
31 | padding: 5px 5px 5px 5px; |
32 | } |
33 | body { |
34 | background-color: #121212; |
35 | color: #DDD |
36 | } |
37 | a { |
38 | color: #F0F; |
39 | text-decoration: none; |
40 | } |
41 | .thumb { |
42 | background-color: #111; |
43 | border: solid 2px; |
44 | border-radius: 10px; |
45 | display: inline-block; |
46 | padding-left: 10px; |
47 | padding-right: 10px; |
48 | } |
49 | .float-right { |
50 | float: right; |
51 | } |
52 | .mobilebar { |
53 | font-size: 24px; |
54 | background-color: #000; |
55 | } |
56 | #mobilebutton { |
57 | display: none; |
58 | } |
59 | .menuicon { |
60 | font-size: 48px; |
61 | cursor: pointer; |
62 | } |
63 | #mobilebutton:checked + .leftbar { |
64 | display: block; |
65 | } |
66 | </style> |
67 | </head> |
68 | <body> |
69 | |
70 | <!-- Mobile bar --> |
71 | <div class="mobilebar"> |
72 | <label for="mobilebutton" class="menuicon"> |
73 | ☰ |
74 | </label> |
75 | Wikyll |
76 | </div> |
77 | <input type="checkbox" name="mobilebutton" id="mobilebutton"> |
78 | <!-- Widgets --> |
79 | <div class="leftbar"> |
80 | <div class="leftbox"> |
81 | <img class="logo" src="https://git.swee.codes/swee/Wikyll/raw/branch/main/files/wikyll.png"> |
82 | <h1>Wikyll</h1> |
83 | <a href="/mainPage">Main Page</a> |
84 | </div> |
85 | <div class="leftbox"> |
86 | <iframe src="https://swee.codes" height=512px> |
87 | </div> |
88 | </div> |
89 | <!-- Content --> |
90 | <div class="content"> |
91 | <h1>Main Page</h1> |
92 | <p>Demonstrate the experience of the Mobile UI of Wikyll</p> |
93 | </div> |
94 | </body> |
95 | </html> |