apps/og/static/styles.css 2.6 K raw
1
/* og — app-specific styles.
2
 * Shared reset / tokens / components come from /assets/darkmatter.css.
3
 */
4
5
.index-container {
6
    width: 100%;
7
}
8
9
.description {
10
    opacity: 0.7;
11
}
12
13
.check-form {
14
    display: flex;
15
    flex-wrap: nowrap;
16
    gap: 0.5rem;
17
    width: 100%;
18
}
19
20
.check-form input {
21
    flex: 1;
22
}
23
24
.check-form input::placeholder {
25
    opacity: 0.3;
26
}
27
28
.check-form button {
29
    flex-shrink: 0;
30
    white-space: nowrap;
31
    font-weight: 700;
32
}
33
34
/* Results page */
35
36
.results-container {
37
    display: flex;
38
    flex-direction: column;
39
    gap: 1.5rem;
40
    width: 100%;
41
}
42
43
.results-header {
44
    display: flex;
45
    flex-direction: column;
46
    gap: 0.75rem;
47
    padding-bottom: 1rem;
48
    border-bottom: 1px solid #333;
49
}
50
51
.results-url a {
52
    word-break: break-all;
53
}
54
55
.label {
56
    display: block;
57
    font-size: 12px;
58
    opacity: 0.7;
59
    text-transform: uppercase;
60
    margin-bottom: 0.25rem;
61
}
62
63
.results-meta span:last-child {
64
    opacity: 0.5;
65
    font-size: 12px;
66
}
67
68
.error h2 {
69
    font-size: 12px;
70
    text-transform: uppercase;
71
    margin-bottom: 0.25rem;
72
}
73
74
.preview-section {
75
    display: flex;
76
    flex-direction: column;
77
    gap: 0.5rem;
78
}
79
80
.preview-section h2 {
81
    font-size: 12px;
82
    text-transform: uppercase;
83
    opacity: 0.5;
84
}
85
86
.image-preview {
87
    border: 1px solid #333;
88
    overflow: hidden;
89
}
90
91
.image-preview img {
92
    display: block;
93
    width: 100%;
94
    height: auto;
95
}
96
97
.tag-section {
98
    display: flex;
99
    flex-direction: column;
100
    width: 100%;
101
}
102
103
.tag-section h2 {
104
    font-size: 12px;
105
    text-transform: uppercase;
106
    opacity: 0.5;
107
    margin-bottom: 0.5rem;
108
}
109
110
.tag-item {
111
    display: flex;
112
    gap: 1rem;
113
    padding: 0.75rem 0;
114
    border-bottom: 1px solid #333;
115
    font-size: 14px;
116
}
117
118
.tag-item.found {
119
    border-left: 2px solid #ffffff;
120
    padding-left: 0.75rem;
121
}
122
123
.tag-item.missing {
124
    border-left: 2px solid #555;
125
    padding-left: 0.75rem;
126
    opacity: 0.3;
127
}
128
129
.tag-key {
130
    font-weight: 700;
131
    min-width: 140px;
132
    max-width: 200px;
133
    opacity: 0.7;
134
    word-break: break-all;
135
}
136
137
.tag-value {
138
    word-break: break-all;
139
    min-width: 0;
140
    flex: 1;
141
}
142
143
.tag-item.missing .tag-value {
144
    font-style: italic;
145
}
146
147
.tag-extra {
148
    display: block;
149
    font-size: 12px;
150
    opacity: 0.5;
151
    margin-top: 0.15rem;
152
}
153
154
.empty-state {
155
    opacity: 0.5;
156
    font-size: 14px;
157
}
158
159
.back-link {
160
    display: inline-block;
161
    font-size: 12px;
162
    opacity: 0.5;
163
    padding-top: 1rem;
164
    border-top: 1px solid #333;
165
    width: 100%;
166
}
167
168
.back-link:hover {
169
    opacity: 0.7;
170
}
171
172
@media (max-width: 480px) {
173
    .tag-item {
174
        flex-direction: column;
175
        gap: 0.25rem;
176
    }
177
178
    .tag-key {
179
        min-width: unset;
180
    }
181
}