lasthourhosting/css/styles.css

359 lines
6.6 KiB
CSS
Raw Normal View History

2023-11-03 21:39:59 +00:00
* {
font-family: DejaVu Sans, Helvetica, sans-serif;
}
body {
2023-11-10 03:12:20 +00:00
background: whitesmoke;
2023-11-03 21:39:59 +00:00
margin: 0;
padding: 0;
}
header {
padding: 0;
margin: 0;
}
main {
flex: 1;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: flex-start;
padding: 20px;
}
.flex-column {
flex: 100%;
flex-direction: column;
display: flex;
align-items: center;
color: var(--text-color);
2023-11-10 03:12:20 +00:00
padding: 100px 5px 100px 5px;
2023-11-03 21:39:59 +00:00
text-align: center;
min-height: 50vh;
2023-11-10 03:12:20 +00:00
justify-content: center;
border-bottom: 3px solid rgb(151, 151, 151);
2023-11-03 21:39:59 +00:00
}
.flex-row {
flex: 100%;
flex-direction: row;
display: flex;
color: var(--text-color);
margin: 10px;
text-align: center;
border-radius: 5px;
flex-wrap: wrap;
2023-11-10 03:12:20 +00:00
justify-content: space-evenly;
2023-11-03 21:39:59 +00:00
}
.flex-container {
2023-11-10 03:12:20 +00:00
margin: 10px;
padding: 5px;
2023-11-03 21:39:59 +00:00
display: flex;
flex-wrap: wrap;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
2023-11-10 03:12:20 +00:00
flex: 1 1 0;
2023-11-03 21:39:59 +00:00
}
footer {
color: var(--text-color);
2023-11-10 03:12:20 +00:00
background-color: gray;
2023-11-03 21:39:59 +00:00
text-align: center;
padding: 1rem;
flex: 1;
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
h1,
h2,
2023-11-10 03:12:20 +00:00
h3 {
color: #1c1c1c;
2023-11-16 01:56:01 +00:00
text-align: center;
2023-11-10 03:12:20 +00:00
margin: 5px;
padding: 5px;
}
p,
2023-11-16 01:56:01 +00:00
ul,
2023-11-17 03:23:21 +00:00
ol,
td {
2023-11-10 03:12:20 +00:00
color: #1c1c1c;
text-align: left;
margin: 5px;
padding: 5px;
2023-11-03 21:39:59 +00:00
}
a {
color: white;
text-decoration: none;
}
.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: flex;
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: flex;
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;
}
2023-11-10 03:12:20 +00:00
.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);
}
2023-11-03 21:39:59 +00:00
/* Menu */
.menu {
margin: 0 auto;
display: flex;
justify-content: center;
align-content: center;
flex-direction: row;
flex-wrap: wrap;
2023-11-10 03:12:20 +00:00
z-index: 100;
2023-11-03 21:39:59 +00:00
}
nav {
2023-11-10 03:12:20 +00:00
margin: 30px 0 0 0;
background-color: black;
2023-11-03 21:39:59 +00:00
display: flex;
align-content: space-around;
justify-content: center;
flex: 1;
flex-wrap: wrap;
2023-11-10 03:12:20 +00:00
z-index: 100;
2023-11-03 21:39:59 +00:00
}
nav ul {
padding: 0;
margin: 0;
list-style: none;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-content: center;
align-items: center;
}
nav ul li {
display: flex;
2023-11-10 03:12:20 +00:00
background-color: black;
2023-11-03 21:39:59 +00:00
}
nav a {
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;
2023-11-10 03:12:20 +00:00
top: 120px; /* Adjust the height of the main nav */
2023-11-03 21:39:59 +00:00
}
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
align-items: center;
}
/* First Tier Dropdown */
nav ul ul li {
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: flex;
}
:checked + .drop:after {
display: none;
}
input:checked + .drop + .menu-items {
display: flex;
}
/* mobile menu */
@media all and (max-width: 960px) {
/* First Tier Dropdown */
/* Display All Items in Full-width Column */
nav ul li {
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: 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: flex;
}
}
2023-11-14 01:03:53 +00:00
.e-mail:before {
content: attr(data-website) "\0040"attr(data-user);
unicode-bidi: bidi-override;
direction: rtl;
}