@@ -49,6 +49,15 @@ input.md-search__input, .md-search__suggest, .md-search-result__meta {
4949 font-family : 'Cutive' , serif;
5050}
5151
52+ /* Link colors */
53+ .md-typeset a , .md-nav__link {
54+ color : light-dark (# 084AFF, # 526CFE );
55+ }
56+
57+ .md-nav__item .md-nav__link--active {
58+ color : light-dark (# 30314B, # 96ACEE )
59+ }
60+
5261.md-typeset h1 ,
5362.md-typeset h2 ,
5463.md-typeset h3 ,
@@ -133,14 +142,27 @@ h1.title-index a.headerlink,
133142 font-size : 6rem ;
134143 margin-bottom : 0 ;
135144 }
145+
146+ a .contribute-content-button ,
147+ a .keep-content-button {
148+ display : inline-block;
149+ width : 25rem ;
150+ }
136151}
137152
153+ /* This specific width is where the BeeWare title on the homepage needs to be made
154+ smaller. It also works for the buttons at the bottom of the homepage. */
138155@media screen and (max-width : 760px ) {
139156 h1 .title-index {
140157 font-size : 4rem ;
141158 margin-bottom : 0 ;
142159 }
143160
161+ a .contribute-content-button ,
162+ a .keep-content-button {
163+ display : inline-block;
164+ width : 15rem ;
165+ }
144166}
145167
146168@media screen and (max-width : 1164px ) {
@@ -215,13 +237,15 @@ a.donate-button {
215237}
216238
217239a .tutorial-button : hover ,
218- a .contribute-button : hover {
219- color : white;
240+ a .contribute-button : hover ,
241+ a .contribute-content-button : hover {
242+ color : # FFFFFF ;
220243 background-color : # 0069D9 ;
221244 border-color : # 0062CC ;
222245}
223246
224- a .donate-button : hover {
247+ a .donate-button : hover ,
248+ a .keep-content-button : hover {
225249 color : # FFFFFF ;
226250 background-color : # 218838 ;
227251 border-color : # 1e7e34 ;;
@@ -264,12 +288,6 @@ a.keep-content-button {
264288 background-color : # 28A745 ;
265289}
266290
267- a .contribute-content-button : hover {
268- color : white;
269- background-color : # 0069D9 ;
270- border-color : # 0062CC ;
271- }
272-
273291/* Future documentation page CSS */
274292/*.featured {*/
275293/* display: flex;*/
@@ -330,15 +348,6 @@ a.contribute-content-button:hover {
330348/* margin-left: 2px;*/
331349/*}*/
332350
333- /* Link colors */
334- .md-typeset a , .md-nav__link {
335- color : light-dark (# 084AFF, # 526CFE );
336- }
337-
338- .md-nav__item .md-nav__link--active {
339- color : light-dark (# 30314B, # 96ACEE )
340- }
341-
342351
343352/* Sidebar title and GitHub links font and color */
344353.md-nav__title {
0 commit comments