Skip to content

Commit 945515b

Browse files
committed
Fix for astropy#105
1 parent 53fbe91 commit 945515b

2 files changed

Lines changed: 44 additions & 8 deletions

File tree

css/style.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,39 @@ article, aside, details, figcaption, figure,
2828
footer, header, hgroup, menu, nav, section {
2929
display: block;
3030
}
31+
.footer {
32+
color: white;
33+
background-color: #1a1a1a;
34+
position: relative;
35+
}
36+
.footer-text {
37+
width: 50%;
38+
padding: 12px 12px;
39+
}
40+
.footer-text a:hover {
41+
color: #FF851B;
42+
}
43+
.footer-stamp {
44+
position: absolute;
45+
top: 20px;
46+
right: 10px;
47+
}
48+
@media (max-width: 710px) {
49+
.footer-text {
50+
width: 40%;
51+
padding: 12px 6px;
52+
}
53+
}
54+
@media (max-width: 593px) {
55+
.footer-text {
56+
width: 90%;
57+
padding: 12px 12px;
58+
}
59+
.footer-stamp {
60+
position: static;
61+
margin: 13px;
62+
}
63+
}
3164
body {
3265
line-height: 1;
3366
}

index.html

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,16 +137,19 @@ <h1>Support Astropy</h1>
137137
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
138138
<script src="js/jquery.sidr.min.js"></script>
139139
<script src="js/functions.js"></script>
140-
141-
<hr>
142-
<p>
143-
<img style="vertical-align:middle" src="images/astropy_brandmark.png" height=20><span style="vertical-align:middle">
144-
<a href="code_of_conduct.html"> The Astropy project is committed to fostering an inclusive community</a></span>.
145-
</p>
146-
147140
</footer>
148-
149141
</div>
150142

143+
<div class="footer">
144+
<div class="footer-text">
145+
<h2>
146+
<img style="vertical-align:middle" src="images/astropy_brandmark.png" height="40px">
147+
<span style="vertical-align:middle">Code of Conduct</span>
148+
</h2>
149+
<hr>
150+
<p>The Astropy project is committed to fostering an inclusive community. The community of participants in open source Astronomy projects is made up of members from around the globe with a diverse set of skills, personalities, and experiences. It is through these differences that our community experiences success and continued growth. <a href="code_of_conduct.html">Learn more</a></p>
151+
</div>
152+
<img src="images/Numfocus_stamp.png" class="footer-stamp">
153+
</div>
151154
</body>
152155
</html>

0 commit comments

Comments
 (0)