-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
160 lines (134 loc) · 3.48 KB
/
style.css
File metadata and controls
160 lines (134 loc) · 3.48 KB
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');
body, html {
margin: 0;
padding: 0;
background-color: black; /* Set the background to black */
height: 100%; /* Make sure the body takes the full height of the viewport */
}
:root {
--clr: #e63946; /* Example color, replace with your choice */
}
#updateButton {
width: 120px;
height: 30px;
border: none;
outline: none;
color: grey;
background: #111;
cursor: pointer;
position: relative;
z-index: 0;
border-radius: 10px;
margin-top: 20px; /* Add space above the button */
margin-bottom: 20px; /* Add space below the button */
}
#updateButton:before {
content: '';
background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
position: absolute;
top: -2px;
left:-2px;
background-size: 400%;
z-index: -1;
filter: blur(5px);
width: calc(100% + 4px);
height: calc(100% + 4px);
animation: glowing 20s linear infinite;
opacity: .25;
transition: opacity .3s ease-in-out;
border-radius: 10px;
}
#updateButton:active {
color: #000
}
#updateButton:active:after {
background: transparent;
}
#updateButton:hover:before {
opacity: 1;
}
#updateButton:after {
z-index: -1;
content: '';
position: absolute;
width: 100%;
height: 100%;
background: #111;
left: 0;
top: 0;
border-radius: 10px;
}
@keyframes glowing {
0% { background-position: 0 0; }
50% { background-position: 400% 0; }
100% { background-position: 0 0; }
}
.content {
text-align: center;
color: white; /* Set default text color to white for the content */
max-width: 620px; /* Set a max-width for the content area */
margin: 0 auto; /* Center the content area */
margin-bottom: 50px; /* Add space below the image */
}
.footer {
position: fixed;
left: 0;
bottom 0;
width: 100%;
text-align: left; /* Align the link to the left */
padding: 10px 20px; /* Padding for spacing inside the footer */
background: transparent; /* Optional: style as needed */
z-index: 1000; /* High enough to stay above other content */
}
.info-link {
color: #27379b; /* Styling for the link icon */
font-size: 24px; /* Icon size */
}
.info-link:hover {
color: #0000ff; /* Interaction feedback */
}
.image-transition {
width: 100%;
height: auto;
transition: opacity 1s ease-in-out; /* Smooth transition for the opacity */
opacity: 1; /* Image is fully visible initially */
}
#imageContainer {
transition: opacity 0.5s ease-in-out;
opacity: 0;
}
#imageContainer.fade {
opacity: 1;
}
#reading {
font-family: 'Roboto', sans-serif;
color: white; /* Default text color */
min-height: 20px; /* Give a minimum height */
}
.reading-title {
font-size: 16pt;
font-weight: bold;
/* Color will be set dynamically via JavaScript */
}
.reading-subtitle {
font-size: 8pt;
font-style: italic;
color: grey;
}
.reading-description {
font-size: 12pt;
color: white;
padding-top: 20px;
}
.reading-breaks {
margin-top: 10t; /* Adjust line break size */
}
}
#reading .reading-title,
#reading .reading-subtitle,
#reading .reading-description,
#reading .reading-text {
}
.visible {
display: block;
}