mirror of
https://github.com/newtype256/website.git
synced 2025-06-06 23:26:26 +02:00
Add a bit of content
This commit is contained in:
parent
eb34fdd739
commit
bfc52d2883
31 changed files with 378 additions and 901 deletions
465
css/default.css
465
css/default.css
|
@ -1,141 +1,374 @@
|
|||
html {
|
||||
font-size: 62.5%;
|
||||
@media (max-width: 455.98px) {
|
||||
html {
|
||||
font-size: 11px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 456px) and (max-width: 575.98px) {
|
||||
html {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 576px) and (max-width: 767.98px) {
|
||||
html {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) and (max-width: 991.98px) {
|
||||
html {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) and (max-width: 1199.98px) {
|
||||
html {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
html {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 1.6rem;
|
||||
color: #000;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5rem;
|
||||
margin: 0;
|
||||
font-family: "Fira Code", "Roboto Mono", "Menlo", "Monaco", "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif;
|
||||
font-feature-settings: "calt" 1;
|
||||
/* Enable ligatures for IE 10+, Edge */
|
||||
text-rendering: optimizeLegibility;
|
||||
/* Force ligatures for Webkit, Blink, Gecko */
|
||||
min-width: 300px;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0 16px;
|
||||
background: white;
|
||||
}
|
||||
|
||||
header {
|
||||
border-bottom: 0.2rem solid #000;
|
||||
a {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
nav {
|
||||
text-align: right;
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
line-height: 1.3em;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
nav a {
|
||||
font-size: 1.8rem;
|
||||
font-weight: bold;
|
||||
fieldset {
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 2rem;
|
||||
margin: 1.75rem 0;
|
||||
background-color: black;
|
||||
border: 1px solid #ccc;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"],
|
||||
pre code {
|
||||
font-weight: 100;
|
||||
text-shadow: none;
|
||||
margin: 1.75rem 0;
|
||||
}
|
||||
|
||||
p {
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
strong {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: 3rem;
|
||||
padding: 1.2rem 0;
|
||||
border-top: 0.2rem solid #000;
|
||||
font-size: 1.2rem;
|
||||
color: #555;
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.4rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
article .header {
|
||||
font-size: 1.4rem;
|
||||
font-style: italic;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.logo a {
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
a {
|
||||
cursor: pointer;
|
||||
color: blue;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@media (max-width: 319px) {
|
||||
body {
|
||||
width: 90%;
|
||||
margin: 0;
|
||||
padding: 0 5%;
|
||||
}
|
||||
header {
|
||||
margin: 4.2rem 0;
|
||||
}
|
||||
nav {
|
||||
margin: 0 auto 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
footer {
|
||||
text-align: center;
|
||||
}
|
||||
.logo {
|
||||
text-align: center;
|
||||
margin: 1rem auto 3rem;
|
||||
}
|
||||
.logo a {
|
||||
font-size: 2.4rem;
|
||||
}
|
||||
nav a {
|
||||
a:visited {
|
||||
color: purple;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: blue;
|
||||
color: white;
|
||||
}
|
||||
|
||||
a:hover:visited {
|
||||
background-color: purple;
|
||||
}
|
||||
|
||||
.hack,
|
||||
.hack blockquote,
|
||||
.hack code,
|
||||
.hack em,
|
||||
.hack h1,
|
||||
.hack h2,
|
||||
.hack h3,
|
||||
.hack h4,
|
||||
.hack h5,
|
||||
.hack h6,
|
||||
.hack strong {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.hack blockquote,
|
||||
.hack code,
|
||||
.hack em,
|
||||
.hack strong {
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.hack blockquote,
|
||||
.hack code,
|
||||
.hack footer,
|
||||
.hack h1,
|
||||
.hack h2,
|
||||
.hack h3,
|
||||
.hack h4,
|
||||
.hack h5,
|
||||
.hack h6,
|
||||
.hack header,
|
||||
.hack li,
|
||||
.hack ol,
|
||||
.hack p,
|
||||
.hack section,
|
||||
.hack ul {
|
||||
float: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.hack blockquote,
|
||||
.hack h1,
|
||||
.hack ol,
|
||||
.hack p,
|
||||
.hack ul {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.hack h1,
|
||||
.hack h2,
|
||||
.hack h3,
|
||||
.hack h4,
|
||||
.hack h5,
|
||||
.hack h6 {
|
||||
position: relative;
|
||||
margin-bottom: 1.75rem;
|
||||
}
|
||||
|
||||
.hack li {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.hack li:after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.hack ul > li:after {
|
||||
content: "-";
|
||||
}
|
||||
|
||||
.hack ol {
|
||||
counter-reset: a;
|
||||
list-style-type:decimal;
|
||||
list-style-position:outside;
|
||||
}
|
||||
|
||||
.hack ol > li:after {
|
||||
content: counter(a) ".";
|
||||
counter-increment: a;
|
||||
|
||||
padding:0 0 0 0px;
|
||||
/* Add some space between numbering and content. */
|
||||
margin:0 0 0 -0.3em;
|
||||
}
|
||||
|
||||
.hack ol li:nth-child(n + 10):after {
|
||||
left: -7px;
|
||||
}
|
||||
|
||||
.hack em {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.hack pre code:after,
|
||||
.hack pre code:before {
|
||||
content: "";
|
||||
}
|
||||
|
||||
.hack code {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.hack code:after,
|
||||
.hack code:before {
|
||||
content: "`";
|
||||
display: inline;
|
||||
}
|
||||
|
||||
@-moz-document url-prefix() {
|
||||
.hack h1 {
|
||||
display: block;
|
||||
line-height: 1.6;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 320px) {
|
||||
body {
|
||||
width: 90%;
|
||||
margin: 0;
|
||||
padding: 0 5%;
|
||||
}
|
||||
header {
|
||||
margin: 4.2rem 0;
|
||||
}
|
||||
nav {
|
||||
margin: 0 auto 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
footer {
|
||||
text-align: center;
|
||||
}
|
||||
.logo {
|
||||
text-align: center;
|
||||
margin: 1rem auto 3rem;
|
||||
}
|
||||
.logo a {
|
||||
font-size: 2.4rem;
|
||||
}
|
||||
nav a {
|
||||
display: inline;
|
||||
margin: 0 0.6rem;
|
||||
}
|
||||
.hack-ones ol > li:after {
|
||||
content: "1.";
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
body {
|
||||
width: 60rem;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
}
|
||||
header {
|
||||
margin: 0 0 3rem;
|
||||
padding: 1.2rem 0;
|
||||
}
|
||||
nav {
|
||||
margin: 0;
|
||||
text-align: right;
|
||||
}
|
||||
nav a {
|
||||
margin: 0 0 0 1.2rem;
|
||||
display: inline;
|
||||
}
|
||||
footer {
|
||||
text-align: right;
|
||||
}
|
||||
.logo {
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
}
|
||||
.logo a {
|
||||
float: left;
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
p {
|
||||
margin: 0 0 1.75rem;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.inner {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.inner2x {
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.pull-left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.pull-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.hack h1 {
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
||||
.hack h2 {
|
||||
font-size: 2rem;
|
||||
padding: 32px 0 0;
|
||||
}
|
||||
|
||||
.hack h3 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
b {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
u {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#T, #Y, #P, #E, #bropen, #brclose {
|
||||
background: black;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#T:hover, #Y:hover, #P:hover, #E:hover, #brclose:hover, #bropen:hover {
|
||||
color: white;
|
||||
}
|
||||
|
||||
#T {
|
||||
color: hsl(0, 80%, 60%);
|
||||
}
|
||||
|
||||
#T:hover {
|
||||
background: hsl(0, 80%, 60%);
|
||||
}
|
||||
|
||||
#Y {
|
||||
color: hsl(60, 80%, 60%);
|
||||
}
|
||||
|
||||
#Y:hover {
|
||||
background: hsl(60, 80%, 60%);
|
||||
}
|
||||
|
||||
#P {
|
||||
color: hsl(120, 80%, 60%);
|
||||
}
|
||||
|
||||
#P:hover {
|
||||
background: hsl(120, 80%, 60%);
|
||||
}
|
||||
|
||||
#E {
|
||||
color: hsl(180, 80%, 60%);
|
||||
}
|
||||
|
||||
#E:hover {
|
||||
background: hsl(180, 80%, 60%);
|
||||
}
|
||||
|
||||
#bropen {
|
||||
color: hsl(240, 80%, 60%);
|
||||
}
|
||||
|
||||
#bropen:hover {
|
||||
background: hsl(240, 80%, 60%);
|
||||
}
|
||||
|
||||
#brclose {
|
||||
color: hsl(300, 80%, 60%);
|
||||
}
|
||||
|
||||
#brclose:hover {
|
||||
background: hsl(300, 80%, 60%);
|
||||
}
|
||||
|
||||
#hidden {
|
||||
color: white;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
h1 {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#T u, #Y u, #P u, #E u, #brclose u, #bropen u {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#T u:hover, #Y u:hover, #P u:hover, #E u:hover, #brclose u:hover, #bropen u:hover {
|
||||
color: black;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 2px solid black;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue