Skip to content

Commit 4d48319

Browse files
authored
update colors 4.1 branch (#104)
1 parent 150606f commit 4d48319

File tree

1 file changed

+48
-21
lines changed

1 file changed

+48
-21
lines changed

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

+48-21
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,46 @@
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%;
1516
}
1617

17-
.phalcon-blog__sponsors-items a:hover {
18-
border-bottom-color: #273646;
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;
1929
}
2030

21-
.version-th-center, .version-td-center {
22-
text-align: center;
23-
}
24-
.version-th-right, .version-td-right {
25-
text-align: right;
31+
@media screen and (max-width: 600px) {
32+
.phalcon-blog__sponsors-items a {
33+
width: 100%;
34+
margin-bottom: 20px;
35+
}
2636
}
27-
.current-version {
28-
background-color: #D4F4B4;
37+
38+
.phalcon-blog__sponsors-items a:hover {
39+
border-bottom-color: #273646;
2940
}
30-
.previous-version {
31-
background-color: #FEF8C6;
41+
42+
[data-md-color-scheme="slate"] .phalcon-blog__sponsors-items a {
43+
background-color: #ffffffb3;
3244
}
3345

3446
[data-md-color-scheme="slate"] .md-typeset a {
@@ -47,32 +59,47 @@
4759
color: #02d3b8 !important;
4860
}
4961

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 */
5077
.legend {
5178
padding-left: 0.3em;
5279
white-space: nowrap;
5380
}
5481

5582
.legend-old-version {
56-
border-left: 1.2em solid #FDB3AB;
83+
border-left: 1.2em solid #fdb3ab;
5784
}
5885

5986
.legend-old-version-supported {
60-
border-left: 1.2em solid #FEF8C6;
87+
border-left: 1.2em solid #fef8c6;
6188
}
6289

6390
.legend-latest {
64-
border-left: 1.2em solid #D4F4B4;
91+
border-left: 1.2em solid #d4f4b4;
6592
}
6693

6794
.legend-preview {
68-
border-left: 1.2em solid #FED1A0;
95+
border-left: 1.2em solid #fed1a0;
6996
}
7097

7198
.legend-future {
72-
border-left: 1.2em solid #C1E6F5;
99+
border-left: 1.2em solid #c1e6f5;
73100
}
74101

75102
.md-header__button.md-logo img,
76103
.md-header__button.md-logo svg {
77104
height: 2rem !important;
78-
}
105+
}

0 commit comments

Comments
 (0)