-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdates.css
More file actions
114 lines (100 loc) · 1.94 KB
/
Copy pathupdates.css
File metadata and controls
114 lines (100 loc) · 1.94 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 {
--bg-color: #f5f5f5;
--text-color: #232323;
--table-bg: #ffffff;
--primary-color: #43a64f;
--link-color: #232323;
--header-color: #666666;
--button-bg: #43a64f;
--button-text: #ffffff;
--shadow-color: rgba(0, 0, 0, 0.2);
}
@media (prefers-color-scheme: dark) {
:root {
/* Dark mode colors */
--bg-color: #121212;
--text-color: #e0e0e0;
--table-bg: #1e1e1e;
}
}
#commit-feed {
width: 100%;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
gap: 10px;
}
.aboutpage .post .post-postcontent
{
width:95%
}
.commit-table {
width: 100%;
border-collapse: collapse;
background-color: var(--table-bg);
margin-bottom: 2em;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 6px var(--shadow-color);
}
.commit-table a {
color: var(--link-color);
text-decoration: none;
}
.commit-title {
color: var(--primary-color) !important;
font-weight: bold;
}
.commit-table h1 {
color: var(--header-color);
font-size: 1.5em;
margin: 0 0 0.3em;
}
.commit-table h3, .commit-table h4 {
margin: 0.5em 0;
}
.commit-table td {
vertical-align: top;
padding: 1em;
}
.commit-table td:first-child {
width: 30%;
text-align: center;
background-color: var(--primary-color);
color: var(--button-text);
}
.commit-table img {
max-width: 100px;
border-radius: 50%;
height: auto;
}
.commit-date-button {
display: inline-block;
background-color: var(--button-bg);
color: var(--button-text);
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
margin-top: 20px;
border: none;
cursor: pointer;
font-weight: bold;
}
/* Responsive adjustments */
@media only screen and (max-width: 768px) and (max-aspect-ratio: 1/1) {
.commit-table td {
display: block;
width: 100%;
}
.commit-table td:first-child {
width: 100%;
text-align: center;
}
#commit-feed {
width: 100%;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(90%, 1fr));
gap: 10px;
}
}