lasthourhosting/css/styles.css
Gary b4eeaf2bc8 main: remove dns service
Needs to be further developed before using in production.
2024-04-02 10:27:45 -07:00

517 lines
10 KiB
CSS

* {
font-family: DejaVu Sans, Helvetica, sans-serif;
}
body {
background: whitesmoke;
margin: 0;
padding: 0;
}
header {
padding: 0;
margin: 0;
position: sticky;
top: 0;
display: -webkit-flex;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
z-index: 10; /* Adjust the z-index as needed */
}
main {
-webkit-flex: 1;
flex: 1;
display: -webkit-flex;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: flex-start;
padding: 20px;
}
.flex-column {
-webkit-flex: 100%;
flex: 100%;
-webkit-flex-direction: row;
flex-direction: column;
display: -webkit-flex;
display: flex;
align-items: center;
color: var(--text-color);
padding: 100px 5px 100px 5px;
text-align: center;
min-height: 50vh;
justify-content: center;
border-bottom: 3px solid rgb(230, 230, 230);
}
.flex-row {
-webkit-flex: 100%;
flex: 100%;
-webkit-flex-direction: row;
flex-direction: row;
display: -webkit-flex;
display: flex;
color: var(--text-color);
margin: 10px;
text-align: center;
border-radius: 5px;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-evenly;
}
.flex-container {
margin: 10px;
padding: 20px;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-flex-direction: column;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
-webkit-flex: 1 1 0;
flex: 1 1 0;
}
.bg-one {
border-radius: 5px;
background-color: white;
transition: box-shadow 0.2s, -webkit-box-shadow 0.2s;
}
footer {
color: var(--text-color);
background-color: gray;
text-align: center;
padding: 1rem;
-webkit-flex: 1;
flex: 1;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-evenly;
}
h1,
h2,
h3 {
color: #1c1c1c;
text-align: center;
margin: 5px;
padding: 5px;
}
p,
ul,
ol,
td,
li {
word-break: normal;
color: #1c1c1c;
text-align: left;
margin: 0 auto;
padding: 5px;
max-width: 1000px;
}
.break-all {
word-break: break-all;
}
a {
color: white;
text-decoration: none;
text-align: left;
margin: 0 auto;
padding: 5px;
transition: color 0.5s ease;
}
a:hover:not(nav a) {
color: #00bcf3;
}
.page-link {
color: black;
text-decoration: none;
text-align: left;
margin: 0 auto;
padding: 0px;
transition: color 0.5s ease;
}
.page-link:hover {
color: #00bcf3;
}
.button-1 {
align-items: center;
background-color: #fff;
border-radius: 12px;
box-shadow: transparent 0 0 0 3px, rgba(18, 18, 18, 0.1) 0 6px 20px;
box-sizing: border-box;
color: #121212;
cursor: pointer;
display: -webkit-flex;
display: flex;
-webkit-flex: 0 0 auto;
flex: 0 0 auto;
font-family: Inter, sans-serif;
font-size: 1.2rem;
font-weight: 700;
justify-content: center;
line-height: 1;
margin: 1rem;
outline: none;
padding: 1rem 1.2rem;
text-align: center;
text-decoration: none;
transition: box-shadow 0.2s, -webkit-box-shadow 0.2s;
white-space: nowrap;
border: 0;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
width: fit-content;
}
.button-1:hover {
box-shadow: #00bcf3 0 0 0 3px, transparent 0 0 0 0;
}
.button-2 {
align-items: center;
border-radius: 12px;
box-shadow: transparent 0 0 0 3px, rgba(255, 255, 255, 0.1) 0 6px 20px;
box-sizing: border-box;
color: white;
cursor: pointer;
display: -webkit-flex;
display: flex;
-webkit-flex: 0 0 auto;
flex: 0 0 auto;
font-family: Inter, sans-serif;
font-size: 1.2rem;
font-weight: 700;
justify-content: center;
line-height: 1;
margin: 1rem;
outline: none;
padding: 1rem 1.2rem;
text-align: center;
text-decoration: none;
white-space: nowrap;
box-shadow: #ffffff 0 0 0 3px, transparent 0 0 0 0;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
width: fit-content;
}
.button-2:hover {
box-shadow: #00bcf3 0 0 0 3px, transparent 0 0 0 0;
}
.button-3 {
margin: 2rem;
align-items: center;
appearance: none;
background-image: radial-gradient(
100% 100% at 100% 0,
#444444 0,
#1d1d1d 100%
);
border: 0;
border-radius: 100px;
box-shadow: rgba(48, 46, 53, 0.4) 0 2px 4px,
rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(70, 71, 78, 0.5) 0 -3px 0 inset;
box-sizing: border-box;
color: #fff;
cursor: pointer;
display: inline-flex;
font-family: "JetBrains Mono", monospace;
height: 48px;
justify-content: center;
line-height: 1;
list-style: none;
overflow: hidden;
padding-left: 16px;
padding-right: 16px;
position: relative;
text-align: left;
text-decoration: none;
transition: box-shadow 0.15s, transform 0.15s, color 0.2s;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
white-space: nowrap;
will-change: box-shadow, transform;
font-size: 18px;
}
.button-3:focus {
box-shadow: #000000 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px,
rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #242424 0 -3px 0 inset;
}
.button-3:hover {
box-shadow: #00baf35b 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px 3px,
#000000 0 -3px 0 inset;
transform: translateY(-2px);
color: #00bcf3;
}
.button-3:active {
box-shadow: #242424 0 3px 7px inset;
transform: translateY(-2px);
}
/* Menu */
.menu {
margin: 0 auto;
display: -webkit-flex;
display: flex;
justify-content: center;
align-content: center;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
width: 100%;
z-index: 100;
}
nav {
background: black;
display: -webkit-flex;
display: flex;
align-content: space-around;
justify-content: center;
-webkit-flex: 1;
flex: 1;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
width: 100%;
z-index: 100;
}
nav ul {
padding: 0;
margin: 0;
list-style: none;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
justify-content: center;
align-content: center;
align-items: center;
}
nav ul li {
display: -webkit-flex;
display: flex;
}
nav a {
display: -webkit-flex;
display: flex;
padding: 0 10px;
color: #fff;
font-size: 20px;
line-height: 60px;
text-decoration: none;
justify-content: center;
align-content: center;
align-items: center;
transition: box-shadow 0.2s, -webkit-box-shadow 0.2s;
border-radius: 12px;
margin: 1rem;
}
.menu-items a:hover {
box-shadow: #00bcf3 0 0 0 3px, transparent 0 0 0 0;
}
/* Hide Dropdowns by Default */
nav ul ul {
display: none;
position: absolute;
top: 75px; /* Adjust the height of the main nav */
background-color: black;
}
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
justify-content: center;
align-content: center;
align-items: center;
}
/* First Tier Dropdown */
nav ul ul li {
display: -webkit-flex;
display: flex;
width: 100%;
float: none;
justify-content: center;
align-content: center;
align-items: center;
}
/* Second, Third and more Tiers */
nav ul ul ul li {
position: relative;
top: -100px;
left: 100%;
}
.drop {
cursor: pointer;
display: none;
}
input[type="checkbox"] {
display: none;
}
.menu-items {
display: -webkit-flex;
display: flex;
}
:checked + .drop:after {
display: none;
}
input:checked + .drop + .menu-items {
display: -webkit-flex;
display: flex;
}
.message-icon-container {
position: fixed;
bottom: 20px;
right: 20px;
display: -webkit-flex;
display: flex;
align-items: center;
justify-content: center;
background-color: black;
color: #fff;
border-radius: 50%;
width: 50px;
height: 50px;
cursor: pointer;
transition: width 0.2s, height 0.2s;
}
.message-icon-container:hover {
width: 55px;
height: 55px;
}
.bg-img {
background: url("/assets/last_hour_hosting_logo_blue.png") center/cover
no-repeat;
height: 300px;
color: #fff;
text-align: center;
padding: 20px;
}
@media all and (max-width: 960px) {
.flex-column {
padding: 10px 5px;
}
/* mobile menu */
/* First Tier Dropdown */
/* Display All Items in Full-width Column */
nav ul li {
display: -webkit-flex;
display: flex;
width: 100%;
text-align: center;
justify-content: center;
align-content: center;
align-items: center;
}
nav ul ul li {
display: none;
width: 100%;
float: none;
justify-content: center;
align-content: center;
align-items: center;
}
.drop {
cursor: pointer;
display: -webkit-flex;
display: flex;
justify-content: center;
align-content: center;
align-items: center;
}
input[type="checkbox"] {
display: none;
}
.menu-items {
display: none;
}
input:checked + .drop + .menu-items {
display: -webkit-flex;
display: flex;
}
}
nav a:not(.logo) {
margin: 0.2rem;
}
.e-mail:before {
content: attr(data-website) "\0040"attr(data-user);
unicode-bidi: bidi-override;
direction: rtl;
}
.bg-vid {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-color: rgba(255, 255, 255, 0.801);
background-blend-mode: color;
transition: box-shadow 0.2s, -webkit-box-shadow 0.2s, background-color 0.2s;
border-radius: 5px;
}
.bg-vid:hover {
border-radius: 5px;
background-blend-mode: lighten;
background-color: #ffffff;
box-shadow: transparent 0 0 0 3px, rgba(18, 18, 18, 0.1) 0 6px 100px;
}
#cloud {
background-image: url("https://cdn.lasthourhosting.org/assets/clouds.gif");
}
#iceland {
background-image: url("https://cdn.lasthourhosting.org/assets/Iceland.gif");
}
#vpsHosting {
background-image: url("https://cdn.lasthourhosting.org/assets/vps-hosting.gif");
}
#migration {
background-image: url("https://cdn.lasthourhosting.org/assets/migration.gif");
}
#notAvailable {
background-image: url("https://cdn.lasthourhosting.org/assets/tv-static.gif");
}
#fiat {
background-image: url("https://cdn.lasthourhosting.org/assets/fiat.gif");
}
#crypto {
background-image: url("https://cdn.lasthourhosting.org/assets/crypto.gif");
}
#cloudPro {
background-image: url("https://cdn.lasthourhosting.org/assets/clouds-pro.gif");
}
#cloudEnterprise {
background-image: url("https://cdn.lasthourhosting.org/assets/cloud-enterprise.gif");
}