Files
rss-reader/vue/src/assets/main.css
T

116 lines
1.9 KiB
CSS

@import './base.css';
#app {
max-width: 1280px;
margin: 0 auto;
padding: 0.5rem;
font-weight: normal;
}
a,
.green {
text-decoration: none;
color: var(--color-accent);
transition: 0.4s;
}
.feed-actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-bottom: 1rem;
}
.feed-actions p {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 0.5rem 1rem;
margin: 0;
border: 1px solid var(--color-border);
border-radius: 4px;
cursor: pointer;
}
.feed-actions p:hover {
border-color: var(--color-border-hover);
}
.message {
background-color: var(--color-info);
color: var(--color-info-text);
padding: 10px;
border-radius: 4px;
position: fixed;
top: 10px;
left: 50%;
transform: translateX(-50%);
max-width: min(90vw, 28rem);
overflow-wrap: break-word;
z-index: 9999;
}
@media (hover: hover) {
a:hover {
background-color: var(--color-accent-hover);
}
}
.feed-source {
margin: 0;
padding: 1em 1em 0;
font-size: clamp(0.75rem, 2vw, 0.85rem);
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--color-accent);
}
.feed-title {
cursor: pointer;
font-family: 'Courier New';
font-size: clamp(1.25rem, 4.5vw, 1.6rem);
font-weight: bold;
color: var(--color-accent-2);
border-bottom: 1px solid #ccc;
padding: 0.25em 1em 1em;
min-height: 44px;
transition: color 0.2s;
}
.feed-title:hover {
color: var(--color-accent-2-hover);
}
.feed-content {
font-family: Georgia, 'Times New Roman', Times, serif;
font-size: clamp(1rem, 3.5vw, 1.25rem);
padding: 0 1em 1em;
overflow-wrap: break-word;
}
.feed-content img {
max-width: 100%;
height: auto;
}
.feed-content p {
padding: 0.5em 0;
}
.feed-content h3 {
padding: 0.5em 0;
font-size: clamp(1rem, 3vw, 1.3rem);
font-weight: bold;
}
h3 {
font-size: clamp(0.85rem, 2.5vw, 1rem);
}
@media (min-width: 768px) {
#app {
padding: 0.75rem;
}
}