-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.php
138 lines (117 loc) · 2.77 KB
/
style.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
// ...
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@400;600;700&display=swap');
* {
/* font-family: 'Open Sans', sans-serif; */
font-family: 'Poppins', sans-serif;
text-decoration: none;
color: inherit;
}
body {
margin: 0;
}
button {
cursor: pointer;
}
/* WCAG */
/* Visually hide the label, but keep it accessible to screen readers */
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
/* */
section.main {
display: flex;
margin: 20px 0px 0px 0px;
}
/* right section */
section.right-section {
/* width: 78%; */
}
section.body-section {
margin: 15px 0px 0px 0px;
}
/* custom */
.opacity05 {
opacity: 0.5 !important;
}
.txt-blue {
color: blue !important;
}
/* empty here */
.empty-here {
width: 100%;
position: relative;
}
img.empty-here-img {
height: 60%;
position: absolute;
left: 50%;
top: 40%;
transform: translate(-50%, -50%);
}
@media (min-width: 768px) {
img.empty-here-img {
left: 45%;
}
}
span.empty-here-txt {
display: block;
position: absolute;
top: 70%;
left: 45%;
transform: translate(-50%, -50%);
font-weight: 600;
}
/* animations */
.animate-move-up {
position: relative;
animation: moveUp 1s ease forwards;
}
@keyframes moveUp {
from {
transform: translateY(100px);
/* Move the element 100px down initially */
opacity: 0;
/* Initially hidden */
}
to {
transform: translateY(0);
/* Move the element to its original position */
opacity: 1;
/* Fully visible */
}
}
@keyframes fadeToLeft {
0% {
opacity: 1;
transform: translateX(0);
}
100% {
opacity: 0;
transform: translateX(-100%);
}
}
.fade-to-left {
/* Initial styles */
opacity: 1;
transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.fade-out {
/* Apply the fade-to-left animation */
animation: fadeToLeft 1s ease-out forwards;
}
</style>