-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
77 lines (65 loc) · 1.42 KB
/
index.css
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
body {
text-rendering: optimizeSpeed;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: left;
color: var(--text);
line-height: 1;
margin: 0;
scroll-behavior: smooth;
}
.contnt {
width: 100vw;
height: 100vh;
box-sizing: border-box;
border: 8px solid #20604F;
}
.h-news-item {
position: relative;
flex: 1 0 40%;
border-bottom: var(--standard-border);
display: flex;
align-content: stretch;
&>.inner {
border-right: var(--standard-border);
padding: calc(var(--h-margin) * .5 - 1rem) calc(var(--h-margin) * 1.5) calc(var(--h-margin) * .5);
margin-top: calc(var(--h-margin) * .5);
margin-bottom: calc(var(--h-margin) * .5);
flex: 1 1 auto
}
&:has(.h-news-desc) {
flex: 1 0 90%
}
}
.h-news-meta {
color: var(--text3);
font-size: var(--h-fontsize-xs);
height: 1rem;
display: flex;
margin-bottom: .3em;
justify-content: space-between;
}
.h-news-title {
margin: 0 0 .3em;
font-weight: var(--bold-weight);
font-size: var(--h-fontsize-l);
}
.h-news-author {
text-align: left;
width: 100%;
transition: var(--transition-out);
}
.h-news-desc {
line-height: 1.6;
position: relative;
transition: var(--transition-out);
font-size: var(--h-fontsize-m);
color: var(--text2);
}
.h-news-date {
color: var(--secondary);
font-weight: var(--bold-weight);
font-size: var(--h-fontsize-xs);
margin-top: .5em;
padding: 0;
}