Skip to content

Commit 360dd0b

Browse files
committed
Add community page
1 parent beda399 commit 360dd0b

File tree

12 files changed

+476
-15
lines changed

12 files changed

+476
-15
lines changed

about/index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@
3131
</a>
3232
<nav id="main-navigation">
3333
<ul id="main-navigation-list">
34+
<li><a href="/">Home</a></li>
3435
<li><a href="/about" class="selected">About</a></li>
35-
<li><a href="/gateway">Gateway</a></li>
36-
<li><a href="/framework">Framework</a></li>
36+
<li><a href="/community">Community</a></li>
3737
<li><a href="/docs">Docs</a></li>
38-
<li><a href="https://discourse.mozilla.org/c/iot">Forum</a></li>
3938
</ul>
4039
</nav>
4140
</header>

community/css/community-mobile.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#conversation-mediums {
2+
width: 280px;
3+
grid-template-columns: 280px;
4+
}
5+
6+
#contributions {
7+
flex-direction: column;
8+
}
9+
10+
.contribution {
11+
margin-bottom: 40px;
12+
}
13+
14+
.medium {
15+
width: 280px;
16+
}
17+
18+
.medium img {
19+
width: 56px;
20+
height: 56px;
21+
}

community/css/community.css

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
#hero {
2+
background-image: url('../images/people.jpg');
3+
background-size: cover;
4+
background-position: center 10%;
5+
height: 400px;
6+
padding: 0;
7+
color: #fff;
8+
}
9+
10+
#hero p {
11+
max-width: 450px;
12+
font-size: 20px;
13+
font-weight: 600;
14+
text-align: center;
15+
margin: 20px;
16+
box-sizing: border-box;
17+
}
18+
19+
.shade {
20+
display: flex;
21+
flex-direction: column;
22+
align-items: center;
23+
justify-content: center;
24+
width: 100%;
25+
height: 100%;
26+
background-color: rgba(0, 0 ,0, 0.58);
27+
}
28+
29+
#conversation-mediums {
30+
display: grid;
31+
width: 700px;
32+
grid-template-columns: 350px 350px;
33+
margin: 0 auto;
34+
box-sizing: border-box;
35+
}
36+
37+
#conversation h2 {
38+
text-align: center;
39+
}
40+
41+
.medium {
42+
display: flex;
43+
flex-direction: row;
44+
width: 350px;
45+
height: 84px;
46+
margin: 25px 0;
47+
color: #000;
48+
text-decoration: none;
49+
}
50+
51+
.medium:hover, .medium:active {
52+
border-radius: 5px;
53+
box-shadow: 0px 0px 10px #666;
54+
}
55+
56+
.medium img {
57+
width: 64px;
58+
height: 64px;
59+
margin: 10px 20px;
60+
}
61+
62+
.medium-description {
63+
flex: 1;
64+
height: 84px;
65+
display: flex;
66+
flex-direction: column;
67+
justify-content: center;
68+
}
69+
70+
.medium h3 {
71+
margin: 0;
72+
padding: 0;
73+
font-size: 20px;
74+
font-family: 'Open Sans', sans-serif;
75+
font-weight: normal;
76+
}
77+
78+
.medium p {
79+
margin: 0;
80+
font-size: 13px;
81+
}
82+
83+
#get-involved-section {
84+
background-color: #5d9bc7;
85+
text-align: center;
86+
color: #fff;
87+
}
88+
89+
#contributions {
90+
display: flex;
91+
flex-direction: row;
92+
align-items: center;
93+
justify-content: center;
94+
margin: 0 auto;
95+
}
96+
97+
.contribution {
98+
width: 300px;
99+
margin: 10px;
100+
}
101+
102+
.contribution img {
103+
width: 192px;
104+
margin: 10px;
105+
}
106+
107+
#docs-link {
108+
color: #fff;
109+
}
110+
111+
#newsletter {
112+
background-color: #e6e6e6;
113+
}
114+
115+
#signup-form {
116+
text-align: center;
117+
padding: 10px 10px;
118+
}
119+
120+
#signup-form input[type=text], #signup-form input[type=email] {
121+
height: 32px;
122+
border: none;
123+
border-radius: 5px;
124+
font-size: 17px;
125+
padding: 1px 10px;
126+
margin: 5px;
127+
font-family: "Open Sans", sans-serif;
128+
}
129+
130+
#signup-form input[type=submit] {
131+
margin-bottom: 5px;
132+
}
133+
134+
#privacy-link {
135+
font-size: 13px;
136+
color: #666;
137+
}

community/images/chat-icon.svg

Lines changed: 48 additions & 0 deletions
Loading

community/images/forum-icon.svg

Lines changed: 24 additions & 0 deletions
Loading

community/images/issue-icon.svg

Lines changed: 34 additions & 0 deletions
Loading
Lines changed: 36 additions & 0 deletions
Loading

community/images/people.jpg

2.27 MB
Loading

0 commit comments

Comments
 (0)