Skip to content

Commit c88359a

Browse files
committed
Frontpage adjustments
1 parent 0917c99 commit c88359a

File tree

6 files changed

+92
-8
lines changed

6 files changed

+92
-8
lines changed

docs/css/extra.css

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
@charset "utf-8";
2+
3+
/* Ensure the call-to-action box background and rounding */
4+
.calltoaction .D_boxbody {
5+
background: #D1FFE0;
6+
border-radius: 5px;
7+
}
8+
9+
/* Minimal layout for .D_boxhead and .D_boxsection */
10+
.minimal .D_boxhead {
11+
float: left;
12+
width: 65%;
13+
margin-bottom: 1em;
14+
border-right: 1px solid #ccc;
15+
margin-right: 1.5em;
16+
padding: 0 1.5em 0;
17+
}
18+
19+
.minimal .D_boxsection {
20+
float: left;
21+
width: auto;
22+
border: 0;
23+
padding-top: 1.5em;
24+
}
25+
26+
/* General 'D_' box parts */
27+
.D_boxbody {
28+
margin: 0.65em;
29+
padding: 0.65em 0.35em 0;
30+
}
31+
32+
.D_boxhead {
33+
overflow: hidden;
34+
font-size: 1em;
35+
padding: 0 0.5em 0.65em;
36+
}
37+
38+
.D_boxsection {
39+
border-top: 1px solid #ccc;
40+
font-size: 1em;
41+
padding: 0.9em 0.5em;
42+
line-height: 1.4em;
43+
}
44+
45+
/* Submit button styling */
46+
.D_submit {
47+
display: inline-block;
48+
background: #ad0000;
49+
background-image: linear-gradient(to bottom, #f10044, #ad0000);
50+
text-shadow: #3e0012 0 0 3px;
51+
border: 2px solid #ad0000;
52+
text-decoration: none;
53+
text-align: center;
54+
cursor: pointer;
55+
font-family: Arial, sans-serif;
56+
font-weight: bold;
57+
border-radius: 4px;
58+
padding: 0.35em 1em;
59+
font-size: 1em;
60+
color: #fff !important;
61+
}
62+
63+
.D_submit:hover {
64+
background-image: linear-gradient(to bottom, #fb0a4e, #b7000a);
65+
text-shadow: none;
66+
border: 2px solid #b7000a;
67+
}
68+
69+
.D_submit:active {
70+
background: #b7000a;
71+
}
72+
73+
/* Text color in D_boxhead */
74+
.D_boxhead p {
75+
color: black;
76+
}

docs/img/rocpy-logo-small.png

56.8 KB
Loading

docs/img/rocpy-logo.png

441 KB
Loading

docs/img/rocpy-logo.png.jpg

134 KB
Loading

docs/index.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
# About
1+
# Join The RocPy Python User Group!
2+
3+
![RocPy Logo](img/rocpy-logo-small.png "RocPy Logo" ){ align=left }
24

35
_From the banks of the mighty Genesee River, deep in the heart of the Greater
46
Rochester Area, welcome! We are your organizers coming to you from an
57
undisclosed server rack in the heart of Python country. Here, where code is our
68
lifeblood, and algorithms our heartbeat._
79

10+
<br/><br/>
11+
812
---
913

1014
RocPy is Rochester's local (and only!) Python user group. We exist to give
@@ -14,11 +18,10 @@ in Python, join us!
1418

1519
We have monthly presentation series with 30-60 minutes presentations on topics of interest to the Python community.
1620

17-
<div class="D_box calltoaction minimal">
21+
<div class="calltoaction minimal">
1822
<div class="D_boxbody">
1923
<form action="http://www.meetup.com/Rochester-Python-Meetup/join/" method="post">
2024
<div class="D_boxhead">
21-
<h2>Join The RocPy Python User Group!</h2>
2225
<p>You'll get invited to our Meetups as soon as they're scheduled!</p>
2326
</div>
2427
<div class="D_boxsection ">

mkdocs.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@ site_description: The Rochester Python Meetup Group
44
theme:
55
name: material
66
custom_dir: overrides
7+
logo: img/rocpy-logo-small.png
78
favicon: img/favicon.ico
89
palette:
910
# Palette toggle for light mode
1011
- scheme: default
1112
toggle:
12-
icon: material/brightness-7
13-
14-
13+
icon: material/brightness-7
1514
name: Switch to dark mode
1615

1716
# Palette toggle for dark mode
@@ -23,12 +22,18 @@ theme:
2322
text: Roboto
2423
code: Roboto Mono
2524
repo_url: https://github.com/RocPy/rocpy.github.io
26-
copyright: Copyright &copy; 20XX - 2024 RocPy — Rochester's Python User Group
25+
copyright: Copyright &copy; 2012 - 2024 RocPy — Rochester's Python User Group
2726
watch:
2827
- overrides
28+
extra_css:
29+
- css/extra.css
2930
extra:
3031
social:
3132
- icon: fontawesome/brands/meetup
3233
link: https://www.meetup.com/Rochester-Python-Meetup/
33-
- icon: fontawesome/brands/github
34+
- icon: fontawesome/brands/github
3435
link: https://github.com/RocPy
36+
- icon: fontawesome/solid/envelope
37+
link: mailto:[email protected]
38+
markdown_extensions:
39+
- attr_list

0 commit comments

Comments
 (0)