313 lines
7.7 KiB
CSS
313 lines
7.7 KiB
CSS
|
||
/* Table of contents
|
||
––––––––––––––––––––––––––––––––––––––––––––––––––
|
||
|
||
- Grid
|
||
- Base Styles
|
||
- Background
|
||
- Typography
|
||
- Links
|
||
- Code
|
||
- Spacing
|
||
- Utilities
|
||
- Misc
|
||
- Credit footer
|
||
|
||
*/
|
||
|
||
|
||
@import url('https://fonts.bunny.net/css?family=Roboto:300,400,700&display=swap');
|
||
|
||
|
||
/* Grid
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||
.container {
|
||
position: relative;
|
||
width: 100%;
|
||
max-width: 600px;
|
||
text-align: center;
|
||
margin: 0 auto;
|
||
box-sizing: border-box; }
|
||
.column {
|
||
position: center;
|
||
width: 100%;
|
||
float: center;
|
||
box-sizing: border-box; }
|
||
|
||
/* For devices larger than 400px */
|
||
@media (min-width: 400px) {
|
||
.container {
|
||
width: 85%;
|
||
padding: 0; }
|
||
}
|
||
|
||
/* For devices larger than 550px */
|
||
@media (min-width: 550px) {
|
||
.container {
|
||
width: 80%; }
|
||
.column,
|
||
.columns {
|
||
margin-left: 0; }
|
||
.column:first-child,
|
||
.columns:first-child {
|
||
margin-left: 0; }
|
||
|
||
}
|
||
|
||
|
||
/* Base Styles
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||
/* NOTE
|
||
html is set to 62.5% so that all the REM measurements throughout Skeleton
|
||
are based on 10px sizing. So basically 1.5rem = 15px :) */
|
||
|
||
html {
|
||
font-size: 100%; }
|
||
|
||
/* From the :root element you can easily change the colors of the design, its size and so on. */
|
||
:root {
|
||
|
||
/* You can change the font family in the whole design here. (You need to add the font family to the codes.) */
|
||
--font-family: 'Roboto', sans-serif;
|
||
|
||
/* You can change the font size here, is proportional to all texts. */
|
||
--font-size: 16px;
|
||
|
||
/* You can change the background color by typing the color code. */
|
||
--background-color: #1e1f26;
|
||
|
||
/* You can change the frame thickness and color of the picture by typing the number of pixels and the color code. */
|
||
--image-border-color: #1f232e;
|
||
--image-border-px: 3px;
|
||
|
||
/* You can change the width and size of the picture by typing the number of pixels. */
|
||
--image-width: 140px;
|
||
--image-height: 140px;
|
||
|
||
/* You can change the colors of the title and description section by typing the color codes. */
|
||
--title-color: #fff;
|
||
--description-color: #fff;
|
||
|
||
/* You can change the colors of social media icons by changing the color code. */
|
||
--svg-color: #fff;
|
||
|
||
/* You can change the background, text color and active color of the menu by changing the color codes. */
|
||
--menu-background-color: #1f232e;
|
||
--menu-text-color: #fff;
|
||
--menu-active-text-color: #03dac6;
|
||
|
||
/* You can change the button's background, text color and active color by changing the color codes. */
|
||
--button-background-color: #222840;
|
||
--button-text-color: #fff;
|
||
--button-text-hover-color: #03dac6;
|
||
|
||
/* You can change the background, text color and active color of the text field by changing the color codes. */
|
||
--textarea-background-color: #1f232e;
|
||
--textarea-text-color: #fff;
|
||
--textarea-link-text-color: #03dac6;
|
||
|
||
/* You can change the background, text color and active color of the footer area by changing the color codes. */
|
||
--footer-background-color: #1f232e;
|
||
--footer-text-color: #fff;
|
||
--footer-link-text-color: #03dac6;
|
||
}
|
||
|
||
::selection {
|
||
background: #03dac6; /* WebKit/Blink Browsers */
|
||
}
|
||
::-moz-selection {
|
||
background: #03dac6; /* Gecko Browsers */
|
||
}
|
||
|
||
/* Background
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||
|
||
body {
|
||
min-height: 100vh;
|
||
font-family: var(--font-family) !important;
|
||
background-color: var(--background-color);
|
||
color: var(--title-color);
|
||
background-position: center;
|
||
background-repeat: no-repeat;
|
||
font-size: var(--font-size);
|
||
line-height: 1.5;
|
||
font-weight: 400;
|
||
}
|
||
|
||
.background{
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
z-index: -1;
|
||
}
|
||
|
||
/* Animation */
|
||
@keyframes transitionAnimation {
|
||
0% {
|
||
opacity: 0;
|
||
transform: translateY(-10px);
|
||
}
|
||
100% {
|
||
opacity: 1;
|
||
transform: translateY(0);
|
||
}
|
||
}
|
||
|
||
@keyframes animate {
|
||
0% {
|
||
background-position: -500%;
|
||
}
|
||
100% {
|
||
background-position: 500%;
|
||
}
|
||
}
|
||
|
||
@keyframes animStar {
|
||
from {
|
||
transform: translateY(0px);
|
||
}
|
||
to {
|
||
transform: translateY(-2000px);
|
||
}
|
||
}
|
||
|
||
/* Typography
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||
h1 {
|
||
color: var(--title-color);
|
||
font-size: 3em;
|
||
/* font-weight: var(--font-weight); */
|
||
font-weight: 800px;
|
||
letter-spacing: 0.5rem;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
p {
|
||
color: var(--description-color);
|
||
font-size: 1.2em;
|
||
line-height: 1.5em;
|
||
font-weight: 300;
|
||
margin-bottom: 10px;
|
||
letter-spacing: 0.3rem;
|
||
}
|
||
|
||
.badge {
|
||
padding-bottom: 7px;
|
||
}
|
||
|
||
.badge-body {
|
||
fill: #222840;
|
||
}
|
||
|
||
/* Links
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||
a {
|
||
color: #ffffff;
|
||
text-decoration: none;
|
||
}
|
||
a:hover {
|
||
color: var(--button-text-hover-color); }
|
||
|
||
.spacing {
|
||
padding: 0 10px;
|
||
padding-top: 50px;
|
||
}
|
||
|
||
/* Code
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||
code {
|
||
padding: .2rem .5rem;
|
||
margin: 0 .2rem;
|
||
font-size: 90%;
|
||
white-space: nowrap;
|
||
background: #F1F1F1;
|
||
border: 1px solid #E1E1E1;
|
||
border-radius: 4px; }
|
||
pre > code {
|
||
display: block;
|
||
padding: 1rem 1.5rem;
|
||
white-space: pre; }
|
||
|
||
/* Spacing
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||
button,
|
||
.button {
|
||
margin-bottom: 1rem;
|
||
display: block !important; }
|
||
input,
|
||
textarea,
|
||
select,
|
||
fieldset {
|
||
margin-bottom: 1.5rem; }
|
||
pre,
|
||
blockquote,
|
||
dl,
|
||
figure,
|
||
p,
|
||
ol {
|
||
margin-bottom: 2.5rem; }
|
||
|
||
|
||
/* Utilities
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||
.u-full-width {
|
||
width: 100%;
|
||
box-sizing: border-box; }
|
||
.u-max-full-width {
|
||
max-width: 100%;
|
||
box-sizing: border-box; }
|
||
.u-pull-right {
|
||
float: right; }
|
||
.u-pull-left {
|
||
float: left; }
|
||
|
||
|
||
/* Misc
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||
hr {
|
||
margin-top: 3rem;
|
||
margin-bottom: 3.5rem;
|
||
border-width: 0;
|
||
border-top: 1px solid #E1E1E1; }
|
||
|
||
|
||
/* ===== Hidden Scrollbar ===== */
|
||
* {
|
||
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
||
scrollbar-width: none; /* Firefox */ }
|
||
*::-webkit-scrollbar {
|
||
display: none; /* Safari and Chrome */ }
|
||
|
||
|
||
/* Credit footer
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||
/* Styling for credit footer text */
|
||
.credit-txt {
|
||
font-weight: 700;
|
||
font-size: 15px;
|
||
text-decoration: none;
|
||
}
|
||
|
||
.credit-icon {
|
||
display: none;
|
||
right: 5px;
|
||
}
|
||
.credit-footer {
|
||
position: relative;
|
||
right: 15px;
|
||
}
|
||
|
||
.credit-footer:hover {
|
||
text-shadow: rgba(3,218,197,0.5) 0px 0px 6px;
|
||
}
|
||
|
||
/* Switches text color for credit footer for dark/light mode */
|
||
|
||
.credit-txt-clr{
|
||
color: #FFF !important;
|
||
}
|
||
|
||
|