TEW-0x00/css/style.css
surtur 17b35f74c2
All checks were successful
continuous-integration/drone/push Build is passing
fix: use 'Fira Code' as font name
2020-05-22 14:37:17 +02:00

638 lines
13 KiB
CSS

@charset "UTF-8";
@import "fira_code.css";
body {
background: #2b2b2b;
font-size: 16px;
/* overflow-y: auto; */
-webkit-font-smoothing: antialiased;
display: flex;
flex-direction: column;
height: 100%;
min-width: 360px;
min-height: 400px;
margin: 0;
}
p {
color: gainsboro;
text-align: center;
line-height: 1.3em;
margin: .5em 3em;
}
h1,h2,h3,h4,h5 {
font-family: Ubuntu,Cantarell,Roboto,-apple-system,BlinkMacSystemFont,system-ui,Segoe UI,Noto Sans,sans-serif,Helvetica,Arial;
color: whitesmoke;
}
img {
border-radius: 3px;
margin: 3em;
max-width: 800px;
}
.logoimg {
width: fit-content;
margin: 2em 1em;
max-width: 250px;
padding: 5px;
box-shadow:
inset 60px 0 330px #f0f,
0 0 60px #f0f,
-10px 0 50px #0ff;
}
a:link {
cursor: pointer;
color: #36c;
text-decoration: none;
word-wrap: break-word;
}
a:hover {
color: #36c;
text-decoration: underline;
}
ul {
text-align: center;
color: gainsboro;
padding: .1em;
list-style-position: inside;
list-style-type: none;
margin: 0 3em;
}
ul li{
text-align: center;
display: inline-flex;
line-height: 1.3;
border: .1em solid #36c;
border-radius: 7px;
padding: .2em;
margin: .3em 0;
}
#divulli {
display: flex;
flex-direction: column;
position: relative;
z-index: auto;
text-align: center;
align-content: center;
margin: 2em 3em 5em;
border: .1em solid whitesmoke;
border-top-style: none;
border-bottom-style: none;
border-radius: 7px;
}
footer {
align-content: center;
align-items: center;
min-width: 360px;
}
.wrap {
word-wrap: break-word;
word-break: break-all
}
.title {
color: whitesmoke;
text-align: center;
}
.subtitle {
color: whitesmoke;
text-align: center;
}
#FiraCode {
color: whitesmoke;
text-align: center;
padding-bottom: 0;
}
.copyright {
color: gainsboro;
text-align: center;
padding-top: 10px;
padding-bottom: 10px;
margin-top: 0;
height: auto;
line-height: 1.5;
position: relative;
bottom: 0;
width: 100%;
font-size: 100%;
}
.copyright a {
cursor: pointer;
color: gainsboro;
text-decoration: none;
border: none;
box-shadow: inset 0 0px 0 whitesmoke;
transition: opacity .6s cubic-bezier(0.165, 0.84, 0.44, 1);
-webkit-transition: all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.copyright a:hover {
color: #2b2b2b;
box-shadow: inset 0 -2em 0 whitesmoke;
opacity: 1;
}
.randlineargradient {
color: linear-gradient(white,blue,red);
}
.divp {
display: flex;
flex-direction: column;
}
.divcodeblock {
display: block;
position: relative;
z-index: auto;
/* flex-direction: column; */
/* align-content: center; */
text-align: left;
margin: 1em 3em;
padding: 0 0 35px 0;
}
pre {
display: block;
overflow: auto;
position: relative;
max-height: 30em;
padding: .7em 1.1em;
font-size: .9em;
line-height: 1.5;
letter-spacing: normal;
white-space: pre;
color: #eee;
background: #151718;
border-radius: 4px;
}
#divlogoimg {
margin: 0 auto;
max-width: 300px;
width: 92%;
}
#radialgradient {
display: flex;
flex-direction: column;
border-radius: 7px;
margin: 0 0em;
min-height: 13em;
align-items: center;
align-content: center;
text-align: center;
background: rgb(2,0,36);
background: radial-gradient(
circle,
rgba(2,0,36,1) 0%,
rgba(9,9,121,1) 52%,
rgba(0,212,255,1) 100%
);
}
#radialgradient p {
font-size: 250%;
font-weight: bold;
min-height: 50px;
margin: 2em;
}
#lineargradient {
display: flex;
flex-direction: column;
border-radius: 7px;
margin: 0 0em;
min-height: 13em;
align-items: center;
align-content: center;
text-align: center;
background-image: linear-gradient(
133deg,
#deadbeef 0%,
#3fa8eb 51%,
#2cb5fd 75%
);
opacity: 0.95;
}
#lineargradient p {
font-size: 250%;
font-weight: bold;
min-height: 50px;
margin: 2em;
}
#divsection {
margin: 0 auto;
max-width: 900px;
width: 92%;
}
#divroundedcorners {
background-color: lightgreen;
border-radius: 7px;
padding: 5px;
min-height: 100px;
margin: 0 3em;
}
#divroundonecorner {
background-color: lightskyblue;
border-radius: 0 27px 0 0;
padding: 5px;
min-height: 100px;
margin: 0 3em;
}
#divshadowz {
border: 2px solid whitesmoke;
border-radius: 7px;
-webkit-box-shadow: 1px 24px 57px 34px rgba(82,10,114,0.79),
14px 10px 67px 34px rgba(58,180,214,0.79),
14px 14px 107px 34px rgba(82,10,114,0.79);
-moz-box-shadow: 1px 24px 57px 34px rgba(82,10,114,0.79),
14px 10px 67px 34px rgba(58,180,214,0.79),
14px 14px 107px 34px rgba(82,10,114,0.79);
box-shadow: 1px 24px 57px 34px rgba(82,10,114,0.79),
14px 10px 67px 34px rgba(58,180,214,0.79),
14px 14px 107px 34px rgba(82,10,114,0.79);
padding: 15px;
min-height: 50px;
margin: 5em 3em 7em;
align-content: center;
text-align: center;
}
#textshadow {
color: #f0f;
text-shadow:
1px 1px 2px black,
0 4px 25px blue,
0 0 5px darkblue;
}
#divtransform1 {
border: 2px solid whitesmoke;
border-radius: 30px;
padding: 5px;
width: 150px;
min-height: 50px;
margin: 2em 10em;
align-content: center;
text-align: center;
-webkit-transform: rotate(-20deg);
-ms-transform: rotate(-20deg);
transform: rotate(-20deg);
}
#divtransform2 {
border: 2px solid whitesmoke;
border-radius: 30px;
padding: 10px;
width: 150px;
min-height: 50px;
margin: 2em 10em;
align-content: center;
text-align: center;
-webkit-transform: skew(20deg, 10deg);
-ms-transform: skew(20deg, 10deg);
transform: skew(20deg, 20deg);
}
#div3dtransformrotate-x {
text-align: center;
border-radius: 7px;
padding: 5px 0;
min-height: 100px;
margin: 0 3em;
-webkit-transform: rotateX(60deg);
-ms-transform: rotateX(60deg);
transform: rotateX(60deg);
background: radial-gradient(
circle,
rgba(2,0,36,1) 0%,
rgba(9,9,121,1) 52%,
rgba(0,212,255,1) 100%
);
opacity: 0.95;
}
#div3dtransformrotate-x h1 {
font-family: 'Fira Code';
text-rendering: optimizeLegibility;
font-feature-settings: "ss07", "zero";
}
#div3dtransformrotate-y {
text-align: center;
border-radius: 7px;
padding: 5px 0;
min-height: 100px;
margin: 1em 3em;
-webkit-transform: rotateY(50deg);
-ms-transform: rotateY(50deg);
transform: rotateY(50deg);
background: radial-gradient(
circle,
rgba(2,0,36,1) 0%,
rgba(9,9,121,1) 42%,
rgba(0,212,255,1) 100%
);
opacity: 0.95;
}
#div3dtransformrotate-y h1 {
font-family: 'Fira Code';
text-rendering: optimizeLegibility;
font-feature-settings: "ss07", "zero";
}
#div3dtransformrotate-z {
text-align: center;
border-radius: 7px;
padding: 5px 0;
min-height: 100px;
margin: 0 3em 2em;
-webkit-transform: rotateZ(4deg);
-ms-transform: rotateZ(4deg);
transform: rotateZ(4deg);
background: radial-gradient(
circle,
rgba(2,0,36,1) 0%,
rgba(9,9,121,1) 52%,
rgba(0,212,255,1) 100%
);
opacity: 0.95;
}
#div3dtransformrotate-z h1 {
font-family: 'Fira Code';
text-rendering: optimizeLegibility;
font-feature-settings: "ss07", "zero";
}
#divanimate-shrug {
text-align: center;
border-radius: 7px;
padding: 5px 0;
min-height: 100px;
margin: 1em 3em;
animation: rotate-shrug 4s infinite;
-webkit-animation: rotate-shrug 4s infinite;
animation-direction: alternate;
background: transparent;
opacity: 0.95;
}
#divanimate-shrug h1 {
font-family: 'Fira Code';
text-rendering: optimizeLegibility;
font-feature-settings: "ss07", "zero";
}
@keyframes rotate-shrug {
0% {
transform: rotateY(0deg);
}
50% {
transform: rotateY(180deg);
}
100% {
transform: rotateY(360deg);
}
}
#divanimate-x {
text-align: center;
border-radius: 7px;
padding: 5px 0;
min-height: 100px;
margin: 0 3em;
animation: rotate-x 4s infinite;
-webkit-animation: rotate-x 4s infinite;
-webkit-transform: rotateX(60deg);
transform: rotateX(60deg);
animation-direction: alternate;
background: rgb(2,0,36);
background: radial-gradient(
circle,
rgba(2,0,36,1) 0%,
rgba(9,9,121,1) 52%,
rgba(0,212,255,1) 100%
);
opacity: 0.95;
}
#divanimate-x h1 {
font-family: 'Fira Code';
text-rendering: optimizeLegibility;
font-feature-settings: "ss07", "zero";
}
@keyframes rotate-x {
0% {
transform: rotateX(-60deg);
}
100% {
transform: rotateX(60deg);
}
}
#divanimate-y {
text-align: center;
border-radius: 7px;
padding: 5px 0;
min-height: 100px;
margin: 1em 3em;
animation: rotate-y 4s infinite;
-webkit-animation: rotate-y 4s infinite;
animation-direction: alternate;
background: rgb(2,0,36);
background: radial-gradient(
circle,
rgba(2,0,36,1) 0%,
rgba(9,9,121,1) 42%,
rgba(0,212,255,1) 100%
);
opacity: 0.95;
}
#divanimate-y h1 {
font-family: 'Fira Code';
text-rendering: optimizeLegibility;
font-feature-settings: "ss07", "zero";
}
@keyframes rotate-y {
0% {
transform: rotateY(-50deg);
}
100% {
transform: rotateY(50deg);
}
}
#divanimate-z {
text-align: center;
border-radius: 7px;
padding: 5px 0;
min-height: 100px;
margin: 0 3em;
animation: rotate-z 3s infinite;
-webkit-animation: rotate-z 3s infinite;
animation-direction: alternate;
background: rgb(2,0,36);
background: radial-gradient(
circle,
rgba(2,0,36,1) 0%,
rgba(9,9,121,1) 52%,
rgba(0,212,255,1) 100%
);
opacity: 0.95;
}
#divanimate-z h1 {
font-family: 'Fira Code';
text-rendering: optimizeLegibility;
font-feature-settings: "ss07", "zero";
}
@keyframes rotate-z {
0% {
transform: rotateZ(-20deg);
}
50% {
transform: rotateZ(0deg);
}
100% {
transform: rotateZ(20deg);
}
}
#divtransitioncolorandopacity {
border-radius: 7px;
min-height: 100px;
margin: 0 3em;
background-color: lightskyblue;
-webkit-transition: background-color 1s ease-in, opacity 750ms ease-out;
-moz-transition: background-color 1s ease-in, opacity 750ms ease-out;
transition: background-color 1s ease-in, opacity 750ms ease-out;
opacity: .7;
}
#divtransitioncolorandopacity:hover {
background: purple;
opacity: .95;
}
#divtransitionshape {
border-radius: 7px;
min-height: 100px;
margin: 0 3em;
background-color: lightgreen;
-webkit-transition: -webkit-transform 1s ease-in-out, margin 500ms ease-in-out;
-moz-transition: transform 1s ease-in-out, margin 500ms ease-in-out;
transition: transform 1s ease-in-out, margin 500ms ease-in-out;
transition-property: transform, margin;
}
#divtransitionshape:hover {
margin: 0 6em;
}
#divmultiplecolumns {
text-align: left;
border: 2px dashed whitesmoke;
border-bottom-style: none;
border-right-style: none;
min-height: 100px;
margin: 1em 3em 2em;
padding: 1em 0 1em;
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-width: 100px;
-moz-column-width: 100px;
column-width: 100px;
-webkit-column-gap: .1em;
-moz-column-gap: .1em;
column-gap: .1em;
-webkit-column-rule: .1em dashed gainsboro;
-moz-column-rule: .1em dashed gainsboro;
column-rule: .1em dashed gainsboro;
}
#divmultiplecolumns p {
text-align: left;
}
#divboxsizing {
background-color: #5b7efa;
border-radius: 7px;
padding: 3em;
min-height: 100px;
margin: 0 3em;
box-sizing: border-box;
}
#divnoboxsizing {
background-color: #5b7efa;
border-radius: 7px;
padding: 3em;
min-height: 100px;
margin: 0 3em;
}
#divflexcontainer1 {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin: 3em 3em 1em;
padding: 1em;
border: solid .1em purple;
border-radius: 7px;
}
#divflexcontainer2 {
display: flex;
justify-content: center;
margin: 3em 3em 1em;
padding: 1em;
border: solid .1em green;
border-radius: 7px;
}
#divflexcontainer3 {
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: center;
align-content: center;
margin: 3em 6em 1em;
padding: 1em;
border: solid .1em yellow;
border-radius: 7px;
}
.divflexitem {
background-color: #422040;
color: whitesmoke;
justify-content: center;
align-content: center;
align-items: center;
text-align: center;
width: 3em;
height: 4em;
padding: .2em;
margin: .5em;
border: solid .5px #1F032C;
border-radius: 7px;
}
@media screen and (max-width: 768px){
#divmultiplecolumns{
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}