Repository navigation
Expand file tree
/
Copy pathstyle_articles.css
More file actions
61 lines (54 loc) · 1.56 KB
/
Copy pathstyle_articles.css
File metadata and controls
61 lines (54 loc) · 1.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
.article-content{
margin: 5%;
display: flex;
flex-direction: column;
align-items: center;
}
#author-date{
font-family: 'Montserrat';
text-align: right;
font-size: clamp(0.8rem, 1vw, 2rem);
padding-right: 2rem;
}
.article-body-container{
max-width: 900px;
width: 100%;
background: rgba(0, 0, 0, 0.1);
backdrop-filter: blur(20px);
padding: var(--space-20);
margin: var(--space-12);
height: fit-content;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: var(--radius-lg);
display: block;
font-family: "Montserrat";
font-size: calc(var(--font-size-base) * 0.95);
}
.image_in_article {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
margin-bottom: 25px;
max-width: 500px;
width: 100%;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border-radius: var(--radius-lg);
}
/* === New Rules for Better Spacing === */
.article-body-container h3 {
margin-top: 40px; /* Adds space above headings */
margin-bottom: 15px; /* Adds space below headings */
font-size: 1.5rem; /* Makes subheadings stand out */
}
.article-body-container p {
margin-bottom: 20px; /* Consistent space between paragraphs */
line-height: 1.7; /* Improves readability */
}
.article-body-container ul {
margin-bottom: 20px; /* Adds space after lists */
padding-left: 25px; /* Indents the list items */
}
.article-body-container li {
margin-bottom: 10px; /* Space between list items */
}