Skip to content

Commit 2478043

Browse files
authored
fix sponsors 3.4 css (#109)
1 parent e323680 commit 2478043

File tree

1 file changed

+69
-4
lines changed

1 file changed

+69
-4
lines changed

Diff for: docs/assets/css/extra.css

+69-4
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,48 @@
11
:root {
2-
--md-primary-fg-color: #273646;
2+
--md-primary-fg-color: #273646;
33
--md-primary-fg-color--light: #374c62;
44
--md-primary-fg-color--dark: #1c2631;
55
}
66

7-
.phalcon-blog__sponsors-items img {
8-
box-sizing: border-box;
7+
.phalcon-blog__sponsors-items {
98
display: flex;
109
flex-wrap: wrap;
10+
justify-content: center;
1111
}
1212

1313
.phalcon-blog__sponsors-items img {
14-
margin-bottom: 0;
14+
max-width: 140px;
15+
width: 100%;
16+
}
17+
18+
.phalcon-blog__sponsors-items a {
19+
margin-bottom: 30px;
20+
display: flex;
21+
align-items: center;
22+
justify-content: center;
23+
border: 1px solid rgba(39,54,70,.4);
24+
padding: 10px 15px;
25+
border-radius: 4px;
26+
width: 46%;
27+
margin-right: 10px;
28+
margin-left: 10px;
29+
}
30+
31+
@media screen and (max-width: 600px) {
32+
.phalcon-blog__sponsors-items a {
33+
width: 100%;
34+
margin-bottom: 20px;
35+
}
1536
}
1637

1738
.phalcon-blog__sponsors-items a:hover {
1839
border-bottom-color: #273646;
1940
}
2041

42+
[data-md-color-scheme="slate"] .phalcon-blog__sponsors-items a {
43+
background-color: #ffffffb3;
44+
}
45+
2146
[data-md-color-scheme="slate"] .md-typeset a {
2247
color: #00bda4 !important;
2348
}
@@ -34,6 +59,46 @@
3459
color: #02d3b8 !important;
3560
}
3661

62+
/* Releases page table */
63+
.version-th-center, .version-td-center {
64+
text-align: center;
65+
}
66+
.version-th-right, .version-td-right {
67+
text-align: right;
68+
}
69+
.current-version {
70+
background-color: #d4f4b4;
71+
}
72+
.previous-version {
73+
background-color: #fef8c6;
74+
}
75+
76+
/* Releases page legend */
77+
.legend {
78+
padding-left: 0.3em;
79+
white-space: nowrap;
80+
}
81+
82+
.legend-old-version {
83+
border-left: 1.2em solid #fdb3ab;
84+
}
85+
86+
.legend-old-version-supported {
87+
border-left: 1.2em solid #fef8c6;
88+
}
89+
90+
.legend-latest {
91+
border-left: 1.2em solid #d4f4b4;
92+
}
93+
94+
.legend-preview {
95+
border-left: 1.2em solid #fed1a0;
96+
}
97+
98+
.legend-future {
99+
border-left: 1.2em solid #c1e6f5;
100+
}
101+
37102
.md-header__button.md-logo img,
38103
.md-header__button.md-logo svg {
39104
height: 2rem !important;

0 commit comments

Comments
 (0)