More work!
This commit is contained in:
parent
2325cdaae8
commit
ae7877f732
8 changed files with 488 additions and 6185 deletions
4
Libraries/css/font-awesome.min.css
vendored
Normal file
4
Libraries/css/font-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
234
Libraries/css/main.css
Normal file
234
Libraries/css/main.css
Normal file
|
|
@ -0,0 +1,234 @@
|
||||||
|
a,
|
||||||
|
p,
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
b,
|
||||||
|
i,
|
||||||
|
body,
|
||||||
|
button {
|
||||||
|
font-family: "Spartan";
|
||||||
|
}
|
||||||
|
|
||||||
|
.code {
|
||||||
|
font-family: "Fira Code";
|
||||||
|
-webkit-font-variant-ligatures: common-ligatures;
|
||||||
|
font-variant-ligatures: common-ligatures;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
font-family: "Fira Code";
|
||||||
|
-webkit-font-variant-ligatures: common-ligatures;
|
||||||
|
font-variant-ligatures: common-ligatures;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
/* css-3 */
|
||||||
|
white-space: -moz-pre-wrap;
|
||||||
|
/* Mozilla, since 1999 */
|
||||||
|
white-space: -pre-wrap;
|
||||||
|
/* Opera 4-6 */
|
||||||
|
white-space: -o-pre-wrap;
|
||||||
|
/* Opera 7 */
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: #252525;
|
||||||
|
color: #eeeeee;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #ff4340;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #bb312f;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
width: 90vw;
|
||||||
|
margin-left: 5vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.centered {
|
||||||
|
text-align: center;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blurred {
|
||||||
|
-webkit-filter: blur(5px);
|
||||||
|
filter: blur(5px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.blurred.unblurable:hover {
|
||||||
|
-webkit-transition: all ease-in 150ms;
|
||||||
|
transition: all ease-in 150ms;
|
||||||
|
-webkit-filter: none;
|
||||||
|
filter: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.rounded {
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.thumbnail {
|
||||||
|
width: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.small {
|
||||||
|
width: 128px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.medium {
|
||||||
|
width: 256px;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.large {
|
||||||
|
width: 512px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.titlebar.top {
|
||||||
|
background-color: #2a2a2a;
|
||||||
|
color: #eeeeee;
|
||||||
|
position: fixed;
|
||||||
|
z-index: 10000000;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100vw;
|
||||||
|
height: 3rem;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: horizontal;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: row;
|
||||||
|
flex-direction: row;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin-top: 4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.titlebar.top .item {
|
||||||
|
background-color: #3a3a3a;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-family: "Spartan";
|
||||||
|
padding: 0px 1rem;
|
||||||
|
height: 100%;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.titlebar.top .item:hover {
|
||||||
|
background-color: #2a2a2a;
|
||||||
|
-webkit-transition: all ease-in 150ms;
|
||||||
|
transition: all ease-in 150ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.divider {
|
||||||
|
width: 70vw;
|
||||||
|
height: 10px;
|
||||||
|
border-bottom: 1px solid #3a3a3a;
|
||||||
|
margin: 1rem 15vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.divider.wide {
|
||||||
|
width: 100vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item:hover .dropdown-content {
|
||||||
|
max-height: 100vh;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item .dropdown-content {
|
||||||
|
max-height: 0px;
|
||||||
|
overflow-y: hidden;
|
||||||
|
-webkit-transition: max-height 0.5s ease-in-out;
|
||||||
|
transition: max-height 0.5s ease-in-out;
|
||||||
|
position: absolute;
|
||||||
|
background-color: #3a3a3a;
|
||||||
|
min-width: 160px;
|
||||||
|
margin-left: -1rem;
|
||||||
|
margin-top: 5.45em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item .dropdown-content a {
|
||||||
|
color: #eeeeee;
|
||||||
|
padding: 12px 16px;
|
||||||
|
text-decoration: none;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item .dropdown-content a:hover {
|
||||||
|
background-color: #252525;
|
||||||
|
-webkit-transition: all ease-in 150ms;
|
||||||
|
transition: all ease-in 150ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding: .75rem 1rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: none;
|
||||||
|
outline: none;
|
||||||
|
background-color: #3a3a3a;
|
||||||
|
color: #eeeeee;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.small {
|
||||||
|
padding: 0.5rem .75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.hoverable:hover {
|
||||||
|
background-color: #404040;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.red {
|
||||||
|
background-color: #ff4340;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.red:active {
|
||||||
|
background-color: #fa755d;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.green {
|
||||||
|
background-color: #7cb342;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.green:active {
|
||||||
|
background-color: #85d82d;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.cyan {
|
||||||
|
background-color: #00bee0;
|
||||||
|
color: #252525;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.cyan:active {
|
||||||
|
background-color: #00d9ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:active {
|
||||||
|
background-color: #404040;
|
||||||
|
}
|
||||||
|
/*# sourceMappingURL=main.css.map */
|
||||||
9
Libraries/css/main.css.map
Normal file
9
Libraries/css/main.css.map
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"mappings": "AAkBA,AAAA,CAAC;AACD,CAAC;AACD,EAAE;AACF,EAAE;AACF,EAAE;AACF,EAAE;AACF,CAAC;AACD,CAAC;AACD,IAAI;AACJ,MAAM,CAAC;EACL,WAAW,EAAE,SAAS;CACvB;;AAED,AAAA,KAAK,CAAC;EACJ,WAAW,EAAE,WAAW;EACxB,sBAAsB,EAAE,gBAAgB;CACzC;;AAED,AAAA,GAAG,CAAC;EACF,WAAW,EAAE,WAAW;EACxB,sBAAsB,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AAK,AAGH,OAAO,CAAC;EACP,gBAAgB,EA5MT,OAAO;CA6Mf;;AAtCL,AAyCE,MAzCI,AAyCH,OAAO,CAAC;EACP,gBAAgB,EAzNF,OAAO;CA0NtB",
|
||||||
|
"sources": [
|
||||||
|
"main.scss"
|
||||||
|
],
|
||||||
|
"names": [],
|
||||||
|
"file": "main.css"
|
||||||
|
}
|
||||||
|
|
@ -1,24 +1,19 @@
|
||||||
@import "../font-awesome/scss/fontawesome.scss";
|
|
||||||
@import "../font-awesome/scss/solid.scss";
|
|
||||||
@import "../font-awesome/scss/brands.scss";
|
|
||||||
|
|
||||||
$light: (
|
|
||||||
"background": #cdcdcd,
|
|
||||||
"foreground": #252525,
|
|
||||||
"item": #c0c0c0
|
|
||||||
);
|
|
||||||
|
|
||||||
$dark: (
|
$dark: (
|
||||||
"background": #2a2a2a,
|
"background": #2a2a2a,
|
||||||
"foreground": #eeeeee,
|
"foreground": #eeeeee,
|
||||||
"item": #3a3a3a
|
"item": #3a3a3a,
|
||||||
|
"button": #3a3a3a,
|
||||||
|
"buttonActive": #404040
|
||||||
);
|
);
|
||||||
|
|
||||||
$background: #252525;
|
$background: #252525;
|
||||||
$foreground: #eeeeee;
|
$foreground: #eeeeee;
|
||||||
|
$brightRed: rgb(250, 117, 93);
|
||||||
$red: #ff4340;
|
$red: #ff4340;
|
||||||
$darkRed: #bb312f;
|
$darkRed: #bb312f;
|
||||||
|
$brightCyan: #00d9ff;
|
||||||
$cyan: #00bee0;
|
$cyan: #00bee0;
|
||||||
|
$brightGreen: #85d82d;
|
||||||
$green: #7cb342;
|
$green: #7cb342;
|
||||||
|
|
||||||
a,
|
a,
|
||||||
|
|
@ -29,7 +24,8 @@ h3,
|
||||||
h4,
|
h4,
|
||||||
b,
|
b,
|
||||||
i,
|
i,
|
||||||
body {
|
body,
|
||||||
|
button {
|
||||||
font-family: "Spartan";
|
font-family: "Spartan";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -67,36 +63,7 @@ a {
|
||||||
|
|
||||||
.centered {
|
.centered {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
margin: auto;
|
||||||
|
|
||||||
.light {
|
|
||||||
background-color: map-get($light, "background");
|
|
||||||
color: map-get($light, "foreground");
|
|
||||||
.item {
|
|
||||||
background-color: map-get($light, "item");
|
|
||||||
&:hover {
|
|
||||||
background-color: map-get($light, "background");
|
|
||||||
transition: all ease-in 150ms;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.divider {
|
|
||||||
border-bottom: 10px map-get($light, "item");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.dark {
|
|
||||||
background-color: map-get($dark, "background");
|
|
||||||
color: map-get($dark, "foreground");
|
|
||||||
.item {
|
|
||||||
background-color: map-get($dark, "item");
|
|
||||||
&:hover {
|
|
||||||
background-color: map-get($dark, "background");
|
|
||||||
transition: all ease-in 150ms;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.divider {
|
|
||||||
border-bottom: 10px map-get($dark, "item");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.blurred {
|
.blurred {
|
||||||
|
|
@ -135,6 +102,8 @@ img {
|
||||||
}
|
}
|
||||||
|
|
||||||
.titlebar.top {
|
.titlebar.top {
|
||||||
|
background-color: map-get($dark, "background");
|
||||||
|
color: map-get($dark, "foreground");
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 10000000;
|
z-index: 10000000;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
@ -150,6 +119,7 @@ img {
|
||||||
}
|
}
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
|
background-color: map-get($dark, "item");
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
@ -157,11 +127,99 @@ img {
|
||||||
padding: 0px 1rem;
|
padding: 0px 1rem;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: map-get($dark, "background");
|
||||||
|
transition: all ease-in 150ms;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.divider {
|
.divider {
|
||||||
width: 100vw;
|
width: 70vw;
|
||||||
height: 10px;
|
height: 10px;
|
||||||
|
border-bottom: 1px solid map-get($dark, "item");
|
||||||
|
margin: 1rem 15vw;
|
||||||
|
&.wide {
|
||||||
|
width: 100vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown.item {
|
||||||
|
&:hover .dropdown-content {
|
||||||
|
max-height: 100vh;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
& .dropdown-content {
|
||||||
|
max-height: 0px;
|
||||||
|
overflow-y: hidden;
|
||||||
|
-webkit-transition: max-height 0.5s ease-in-out;
|
||||||
|
-moz-transition: max-height 0.5s ease-in-out;
|
||||||
|
-o-transition: max-height 0.5s ease-in-out;
|
||||||
|
transition: max-height 0.5s ease-in-out;
|
||||||
|
position: absolute;
|
||||||
|
background-color: map-get($dark, "item");
|
||||||
|
min-width: 160px;
|
||||||
|
margin-left: -1rem;
|
||||||
|
margin-top: 5.45em;
|
||||||
|
|
||||||
|
& a {
|
||||||
|
color: $foreground;
|
||||||
|
padding: 12px 16px;
|
||||||
|
text-decoration: none;
|
||||||
|
display: block;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: $background;
|
||||||
|
transition: all ease-in 150ms;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding: .75rem 1rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: none;
|
||||||
|
outline: none;
|
||||||
|
background-color: map-get($dark, "button");
|
||||||
|
color: $foreground;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
|
&.small {
|
||||||
|
padding: 0.5rem .75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.hoverable {
|
||||||
|
&:hover {
|
||||||
|
background-color: map-get($dark, "buttonActive");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.red {
|
||||||
|
background-color: $red;
|
||||||
|
&:active {
|
||||||
|
background-color: $brightRed;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.green {
|
||||||
|
background-color: $green;
|
||||||
|
&:active {
|
||||||
|
background-color: $brightGreen;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.cyan {
|
||||||
|
background-color: $cyan;
|
||||||
|
color: $background;
|
||||||
|
&:active {
|
||||||
|
background-color: $brightCyan;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
background-color: map-get($dark, "buttonActive");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
const isMobile = () => {
|
const isMobile = () => {
|
||||||
return window.innerWidth < 767;
|
return window.innerWidth < 767;
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
$(document).ready(() => {
|
$(document).ready(() => {
|
||||||
|
|
||||||
if (isMobile()) {
|
if (isMobile()) {
|
||||||
// alert("'Detected' mobile device; fixing things up");
|
// alert("'Detected' mobile device; fixing things up");
|
||||||
let titlebars = document.querySelectorAll(".titlebar");
|
let titlebars = document.querySelectorAll(".titlebar");
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
155
index.html
155
index.html
|
|
@ -4,12 +4,12 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="Libraries/scss/main.css">
|
|
||||||
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Fira+Code&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Fira+Code&display=swap" rel="stylesheet">
|
||||||
<link href="https://fonts.googleapis.com/css?family=Spartan&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Spartan&display=swap" rel="stylesheet">
|
||||||
<!-- <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> -->
|
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
|
||||||
<link href="Libraries/font-awesome/scss/fontawesome.css" rel="stylesheet">
|
|
||||||
|
<link href="Libraries/css/main.css" rel="stylesheet">
|
||||||
|
|
||||||
<script src="Libraries/js/jquery-3.4.1.min.js"></script>
|
<script src="Libraries/js/jquery-3.4.1.min.js"></script>
|
||||||
<script src="Libraries/js/jquery-ui.min.js"></script>
|
<script src="Libraries/js/jquery-ui.min.js"></script>
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="dark top titlebar">
|
<div class="top titlebar">
|
||||||
<div class="item">
|
<div class="item">
|
||||||
About
|
About
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -28,8 +28,15 @@
|
||||||
<div class="item">
|
<div class="item">
|
||||||
Reddit
|
Reddit
|
||||||
</div>
|
</div>
|
||||||
<div class="dropdown item">
|
<div class="dropdown item slidedown">
|
||||||
Support <i class="fa fa-caret-down"></i>
|
<span>
|
||||||
|
Support <i class="fa fa-caret-down"></i>
|
||||||
|
</span>
|
||||||
|
<div class="dropdown-content">
|
||||||
|
<a href="#">Link 1</a>
|
||||||
|
<a href="#">Link 2</a>
|
||||||
|
<a href="#">Link 3</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="centered container">
|
<div class="centered container">
|
||||||
|
|
@ -41,9 +48,13 @@
|
||||||
</h2>
|
</h2>
|
||||||
<a href="#">Here we have links</a>
|
<a href="#">Here we have links</a>
|
||||||
<p>
|
<p>
|
||||||
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Est sequi accusantium aperiam ab facilis
|
Lorem ipsum dolor sit amet consectetur adipisicing elit. Facere fugit recusandae aperiam ullam, nobis,
|
||||||
perspiciatis consequatur. Voluptatum, dolor, iusto eum hic error amet vel fugiat sint earum rem, temporibus
|
nostrum commodi nam sit atque dolorum quibusdam earum id dicta tempore odit autem maxime doloribus, quos
|
||||||
distinctio.
|
neque eveniet. Provident dicta nam sequi rem aspernatur ea odit fugiat quis! Delectus suscipit saepe velit
|
||||||
|
reiciendis commodi modi aliquam ipsam aliquid laborum voluptates error ab, incidunt eos ad nihil minima
|
||||||
|
voluptatum obcaecati nobis in enim sunt iusto. Sunt in, perferendis sequi numquam nostrum obcaecati animi
|
||||||
|
nobis at cupiditate dolore quasi error. Veniam similique inventore provident reprehenderit vel quisquam,
|
||||||
|
quas, recusandae aperiam nostrum minus fugit cum quo? Debitis, commodi maiores!
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
Centering a group of items can be easily done using the <span class="code">centered</span> class:
|
Centering a group of items can be easily done using the <span class="code">centered</span> class:
|
||||||
|
|
@ -67,20 +78,126 @@
|
||||||
|
|
||||||
<div class="divider"> </div>
|
<div class="divider"> </div>
|
||||||
|
|
||||||
<div class="centered container">
|
<div class="container">
|
||||||
<h2>Containers</h2>
|
<h2 class="centered">
|
||||||
|
Images
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Images have a few different classes that correspond to their sizes:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Thumbnails | <span class="code">class='thumbnail'</span>:
|
||||||
|
</p>
|
||||||
|
<div class="centered container">
|
||||||
|
<img class="thumbnail" src="https://forgeserv.net/Resources/logo.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Small | <span class="code">class='small'</span>:
|
||||||
|
</p>
|
||||||
|
<div class="centered container">
|
||||||
|
<img class="small" src="https://forgeserv.net/Resources/logo.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Medium | <span class="code">class='medium'</span>:
|
||||||
|
</p>
|
||||||
|
<div class="centered container">
|
||||||
|
<img class="medium" src="https://forgeserv.net/Resources/logo.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Large | <span class="code">class='large'</span>:
|
||||||
|
</p>
|
||||||
|
<div class="centered container">
|
||||||
|
<img class="large" src="https://forgeserv.net/Resources/logo.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Images (and most things actually!) can be blurred using <span class="code">class='blurred'</span>:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="centered container">
|
||||||
|
<img class="medium blurred" src="https://forgeserv.net/Resources/logo.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
You can make them unblurable on hover by adding the <span class="code">unblurable</span> class:
|
||||||
|
</p>
|
||||||
|
<div class="centered container">
|
||||||
|
<img class="medium blurred unblurable" src="https://forgeserv.net/Resources/logo.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Lastly, images can be rounded | <span class="code">rounded</span>:
|
||||||
|
</p>
|
||||||
|
<div class="centered container">
|
||||||
|
<img class="medium rounded" src="https://forgeserv.net/Resources/Pano1-Blurred.png">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<img class="thumbnail" src="https://forgeserv.net/Resources/logo.png">
|
<div class="divider"> </div>
|
||||||
<img class="small" src="https://forgeserv.net/Resources/logo.png">
|
|
||||||
<img class="medium" src="https://forgeserv.net/Resources/logo.png">
|
<div class="container">
|
||||||
<img class="large" src="https://forgeserv.net/Resources/logo.png">
|
<h2>Buttons</h2>
|
||||||
<img class="large blurred" src="https://forgeserv.net/Resources/logo.png">
|
|
||||||
<img class="large blurred unblurable" src="https://forgeserv.net/Resources/logo.png">
|
<p>
|
||||||
<img class="rounded" src="https://forgeserv.net/Resources/Pano1-Blurred.png">
|
Buttons have colors!
|
||||||
<img class="medium rounded" src="https://forgeserv.net/Resources/Pano1-Blurred.png">
|
</p>
|
||||||
|
|
||||||
|
<table class="centered">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<button>Plain</button>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<button class="red">Red</button>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<button class="cyan">Cyan</button>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<button class="green">Green</button>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<button class="hoverable">Active On Hover</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Buttons can also be <sub>smol</sub>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<table class="centered">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<button class="small">Plain</button>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<button class="red small">Red</button>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<button class="cyan small">Cyan</button>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<button class="green small">Green</button>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<button class="hoverable small">Active On Hover</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Loading…
Reference in a new issue