Add files via upload

This commit is contained in:
Sophia Atkinson 2022-03-01 15:37:45 -08:00 committed by GitHub
parent dd77d9b889
commit 1adaf18aa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 235 additions and 0 deletions

21
HTML&CSS/Darkmode/LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 Sophia
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -0,0 +1,2 @@
# Darkmode
Basic Dark Mode with CSS

View File

@ -0,0 +1,51 @@
<!DOCTYPE html>
<html>
<head>
<title>Basic Dark Mode with CSS
</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link href="https://sophia.wtf/favicon.ico?v1" rel="icon" type="image/png" />
<meta name="description" content="Basic Dark Mode with CSS">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@SophiaTLDR">
<meta name="twitter:title" content="Darkmode">
<meta name="twitter:description" content="Basic Dark Mode with CSS">
<meta property="og:url" content="https://sophiaatkinson.github.io/Darkmode/">
<meta property="og:type" content="website">
<meta property="og:title" content="Darkmode">
<meta property="og:description" content="Basic Dark Mode with CSS">
<meta property="og:image" content="https://cdn.statically.io/og/theme=dark/Darkmode.jpg">
<meta name="twitter:image" content="https://cdn.statically.io/og/theme=dark/Darkmode.jpg">
<link rel="stylesheet" href="main.css">
</head>
<h1>H1
</h1>
<h2>H2
</h2>
<h3>H3
</h3>
<h4>H4
</h4>
<h5>H5
</h5>
<h6>H6
</h6>
<p>P
</p>
<pre>PRE
</pre>
<strong>Strong
</strong>
<div>
<em>EM
</em>
<div>
<a href="https://sophia.wtf">href
</a>
<div>
<sub>SUB
</sub>
<hr>
</body>
</html>

161
HTML&CSS/Darkmode/main.css Normal file
View File

@ -0,0 +1,161 @@
/*
Sophia Darkmode, (Basic As Shit)
https://sophia.wtf
MIT License
*/
body {
background: #121212;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
color: #fff;
text-decoration: none;
}
h1 {
color: #fff;
font-family: monospace, monospace;
font-size: 2em;
line-height: 1.5em;
}
h2 {
color: #fff;
font-family: monospace, monospace;
font-size: 1.5em;
line-height: 1.5em;
}
h3 {
color: #fff;
font-family: monospace, monospace;
font-size: 1.25em;
line-height: 1.5em;
}
h4 {
color: #fff;
font-family: monospace, monospace;
font-size: 1.1em;
line-height: 1.5em;
}
h5 {
color: #fff;
font-family: monospace, monospace;
font-size: 0.9em;
line-height: 1.5em;
}
h6 {
color: #fff;
font-family: monospace, monospace;
font-size: 0.7em;
line-height: 1.5em;
}
sub {
color: #fff;
font-family: monospace, monospace;
font-size: 0.8em;
position: relative;
top: 0.5em;
}
sup {
color: #fff;
font-family: monospace, monospace;
font-size: 0.8em;
position: relative;
top: -0.5em;
}
hr {
border: 0;
border-bottom: solid 2px #fff;
margin: 2em 0;
}
hr.major {
margin: 3em 0;
}
blockquote {
border-left: solid 6px #121212;
font-style: italic;
margin: 0 0 2em 0;
padding: 0.5em 0 0.5em 1.5em;
}
code {
background: #fff;
border-radius: 0.35em;
border: solid 2px #121212;
font-family: "Courier New", monospace;
font-size: 0.9em;
margin: 0 0.25em;
padding: 0.25em 0.65em;
}
pre {
color: #fff;
-webkit-overflow-scrolling: touch;
font-family: "Courier New", monospace;
font-size: 0.9em;
margin: 0 0 2em 0;
}
pre code {
color: #fff;
display: block;
line-height: 1.75em;
padding: 1em 1.5em;
overflow-x: auto;
}
p {
color: #fff;
font-family: monospace, monospace;
font-size: 1em
}
a {
-moz-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
-webkit-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
-ms-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
border-bottom: solid 1px;
color: #fff;
text-decoration: none;
}
a:hover {
border-bottom-color: transparent;
color: #fff !important;
text-decoration: none;
}
strong, b {
color: #fff;
font-weight: 400;
}
em, i {
color: #fff;
font-style: italic;
}
.align-left {
text-align: left;
}
.align-center {
text-align: center;
}
.align-right {
text-align: right;
}