-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcommon.css
More file actions
130 lines (114 loc) · 2.56 KB
/
common.css
File metadata and controls
130 lines (114 loc) · 2.56 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
.monospace {
font-family: monospace;
}
.pre .code {
border-radius: 10px;
}
/* Back link styles */
.back-link {
position: fixed;
top: 20px;
left: 20px;
padding: 10px 15px;
background-color: #657b83;
color: white;
text-decoration: none;
border-radius: 6px;
font-family: monospace;
font-size: 16px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
z-index: 1000;
transition: all 0.3s ease;
}
.back-link:hover {
background-color: rgb(77.5161290323, 162.8774193548, 222.8838709677);
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
/* Dark theme styling for back link */
body[data-theme="dark"] .back-link {
background-color: #93a1a1;
}
body[data-theme="dark"] .back-link:hover {
background-color: rgb(77.5161290323, 162.8774193548, 222.8838709677);
}
.hover-link {
transition: transform 0.3s ease-in-out;
}
.hover-link:hover {
transform: scale(1.01);
}
.disabled-link {
opacity: 0.4;
cursor: default;
}
/* Theme Toggle Button Styles */
.theme-toggle {
position: fixed;
top: 20px;
right: 20px;
width: 50px;
height: 50px;
border-radius: 50%;
background: #f0f0f0;
border: none;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
cursor: pointer;
z-index: 1000;
overflow: hidden;
transition: transform 0.3s, background-color 0.3s;
display: flex;
align-items: center;
justify-content: center;
}
.theme-toggle:hover {
transform: scale(1.1);
}
.theme-toggle:active {
transform: scale(0.95);
}
.theme-toggle .icon {
position: absolute;
width: 24px;
height: 24px;
transition: transform 0.3s, opacity 0.3s;
}
.theme-toggle .sun-icon {
color: #657b83;
opacity: 0;
transform: rotate(90deg) scale(0);
}
.theme-toggle .moon-icon {
color: #34495e;
opacity: 0;
transform: rotate(-90deg) scale(0);
}
/* Dark theme styling */
body[data-theme="dark"] .theme-toggle {
background: #6f9ac6;
}
/* When theme is light */
body[data-theme="light"] .sun-icon {
opacity: 1;
transform: rotate(0) scale(1);
}
body[data-theme="light"] .moon-icon {
opacity: 0;
transform: rotate(-90deg) scale(0);
}
/* When theme is dark */
body[data-theme="dark"] .sun-icon {
opacity: 0;
transform: rotate(90deg) scale(0);
}
body[data-theme="dark"] .moon-icon {
opacity: 1;
transform: rotate(0) scale(1);
}
code {
border-radius: 10px;
}
#tablaquellevotreshoras tr {
border-bottom: 2px solid black;
border-top: 2px solid black;
}