-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
114 lines (112 loc) · 2.78 KB
/
styles.css
File metadata and controls
114 lines (112 loc) · 2.78 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
:root {
--mtg-white: #f8f6e7;
--mtg-blue: #1e6ba8;
--mtg-black: #231f20;
--mtg-red: #be2d26;
--mtg-green: #217346;
--mtg-gold: #c7a008;
--mtg-colorless: #bfc2c2;
--mtg-border: #bfa76a;
}
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Magic: The Gathering inspired custom styles */
.mtg-card {
background: var(--mtg-white);
border: 2px solid var(--mtg-border);
border-radius: 0.75rem;
box-shadow: 0 4px 16px 0 rgba(35,31,32,0.25);
padding: 1.5rem;
margin-bottom: 1.5rem;
}
.mtg-navbar {
display: flex;
justify-content: center;
align-items: center;
background: rgba(34, 31, 32, 0.45); /* More transparent for glass look */
box-shadow: 0 4px 16px 0 rgba(35,31,32,0.18);
border-radius: 0; /* No border radius for the top bar */
padding: 0.5rem 1.5rem;
margin-bottom: 2rem;
backdrop-filter: blur(12px) saturate(1.2);
}
.mtg-navbar a {
font-family: 'EB Garamond', serif;
display: inline-block;
margin: 0 0.5em;
padding: 0.5em 1.2em;
font-size: 1.1em;
font-weight: 500;
color: #f8f6e7; /* Bright color for readability */
background: rgba(255,255,255,0.13); /* More transparent for glass look */
border: none;
border-radius: 12px;
box-shadow: 0 1.5px 4px 0 rgba(0,0,0,0.10), 0 0.5px 0.5px 0 rgba(255,255,255,0.10) inset;
transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
text-decoration: none;
position: relative;
backdrop-filter: blur(8px) saturate(1.2);
}
.mtg-navbar a:not(:last-child) {
border-right: none;
}
.mtg-navbar a.active, .mtg-navbar a:hover {
background: rgba(255,255,255,0.28);
color: #fffbe6; /* Even brighter on hover/active */
box-shadow: 0 3px 12px 0 rgba(30,107,168,0.13), 0 0.5px 0.5px 0 rgba(255,255,255,0.13) inset;
transform: translateY(-2px) scale(1.04);
text-decoration: none;
z-index: 1;
}
body {
@apply bg-mtgGreen bg-opacity-10 min-h-screen;
}
.mana-symbol {
display: inline-block;
vertical-align: middle;
height: 15px;
width: 15px;
margin: 0 0.05em;
object-fit: contain;
}
.mana-number-symbol {
display: inline-flex;
align-items: center;
justify-content: center;
height: 15px;
width: 15px;
margin: 0 0.05em;
background: #bfc2c2;
color: #231f20;
font-size: 0.8em;
font-weight: bold;
border-radius: 50%;
font-family: inherit;
vertical-align: middle;
text-align: center;
}
.change-log {
position: fixed;
right: 1.5rem;
bottom: 1.5rem;
font-size: 0.85em;
color: #666;
opacity: 0.85;
z-index: 100;
background: rgba(255,255,255,0.85);
border-radius: 0.5em;
padding: 0.3em 0.8em;
box-shadow: 0 2px 8px 0 rgba(35,31,32,0.10);
transition: all 0.2s;
}
@media (max-width: 700px) {
.change-log {
position: static;
display: block;
margin: 2em auto 0 auto;
box-shadow: none;
background: none;
text-align: center;
}
}