Skip to content

Commit 1d35094

Browse files
authored
Uniform styling in footer (#83)
1 parent 8d0c986 commit 1d35094

File tree

2 files changed

+41
-13
lines changed

2 files changed

+41
-13
lines changed

theme/src/main/assets/assets/stylesheets/pekko-theme.css

Lines changed: 38 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,6 @@ ul.md-nav__links li a {
3232
display: inline;
3333
}
3434

35-
#incubator__logo {
36-
background-color: white;
37-
float: left;
38-
margin-right:40px;
39-
margin-top:0;
40-
max-width:inherit;
41-
padding:10px;
42-
width:380px
43-
}
44-
4535
/* fix paradox snippet links to fit with material docs style */
4636

4737
/* material docs brings its own copy button, remove ours */
@@ -93,3 +83,41 @@ tbody th, tbody td {
9383
tbody tr:nth-child(even) {
9484
background-color: #eaeaea;
9585
}
86+
87+
88+
/* Footer styling */
89+
.md-footer-meta__inner p {
90+
color: #999;
91+
font-size: 14px;
92+
}
93+
94+
.md-footer-meta__inner {
95+
box-sizing: border-box;
96+
flex-wrap: wrap;
97+
display: flex;
98+
align-items: center;
99+
justify-content: center;
100+
}
101+
102+
@media (max-width: 850px) {
103+
.md-footer-meta__inner {
104+
flex-direction: column;
105+
}
106+
}
107+
108+
.md-footer-meta__inner div {
109+
flex: 1;
110+
text-align: center;
111+
}
112+
113+
.md-footer-meta__inner .md-footer-copyright {
114+
flex-basis: 100%;
115+
}
116+
117+
#incubator__logo {
118+
background-color: white;
119+
max-width: inherit;
120+
padding: 10px;
121+
width: 380px;
122+
margin: auto;
123+
}

theme/src/main/assets/partials/footer.st

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ $!
6161
$endif$
6262
<div class="md-footer-meta md-typeset">
6363
<div class="md-footer-meta__inner md-grid">
64-
<div>
64+
<div class="logo">
6565
<a href="https://incubator.apache.org/" one-link-mark="yes">
6666
<img src="assets/images/apache-incubator.svg" alt="Apache Incubator logo" id="incubator__logo">
6767
</a>
6868
</div>
69-
<div>
70-
<p style="font-family: Avenir-Medium;font-size: 14px;color: #999;line-height: 25px;">
69+
<div class="incubation-disclaimer">
70+
<p>
7171
Apache Pekko is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
7272
</p>
7373
</div>

0 commit comments

Comments
 (0)