File tree Expand file tree Collapse file tree 2 files changed +44
-6
lines changed Expand file tree Collapse file tree 2 files changed +44
-6
lines changed Original file line number Diff line number Diff line change 9
9
Current colors:
10
10
#f39200; /*blue*/
11
11
12
- /* test */
13
-
14
12
/*--------------------------------------------------------------
15
13
# General
16
14
--------------------------------------------------------------*/
@@ -1192,3 +1190,43 @@ section {
1192
1190
# footer .credits {
1193
1191
font-size : 13px ;
1194
1192
}
1193
+
1194
+ /* Default styles for buttons */
1195
+ .button {
1196
+ font-family : "Raleway" , sans-serif;
1197
+ text-transform : uppercase;
1198
+ font-weight : 600 ;
1199
+ font-size : 18px ;
1200
+ letter-spacing : 1px ;
1201
+ width : 275px ; /* Fixed width for the buttons */
1202
+ display : inline-block;
1203
+ padding : 14px 40px ;
1204
+ border-radius : 0px ;
1205
+ transition : 0.5s ;
1206
+ margin-top : auto;
1207
+ color : # fff ;
1208
+ background : # f39200 ;
1209
+ outline : none; /* Remove the outline */
1210
+ border : none;
1211
+ text-align : center;
1212
+ }
1213
+
1214
+ /* Style for the container that holds the buttons */
1215
+ .button-container {
1216
+ text-align : left;
1217
+ }
1218
+
1219
+ /* Media query for screens with a maximum width of 600px (typical mobile screens) */
1220
+ @media only screen and (max-width : 992px ){
1221
+ /* Change alignment to vertical */
1222
+ .button-container {
1223
+ align-items : center; /* Center horizontally */
1224
+ justify-content : center; /* Center vertically */
1225
+ text-align : center;
1226
+ }
1227
+ /* Add margin between buttons */
1228
+ .button {
1229
+ margin-bottom : 10px ;
1230
+
1231
+ }
1232
+ }
Original file line number Diff line number Diff line change 3
3
4
4
< head >
5
5
6
- <!-- test -->
7
-
8
6
<!-- Global site tag (gtag.js) - Google Analytics -->
9
7
< script async src ="https://www.googletagmanager.com/gtag/js?id=UA-215562771-1 "> </ script >
10
8
< script >
@@ -95,8 +93,10 @@ <h6>by <a href="https://sbonaretti.github.io/" target="_blank">Serena Bonaretti<
95
93
96
94
< br >
97
95
< br >
98
- < a href ="assets/book/learn_python_with_jupyter.pdf " class ="btn-preorder "> Get the free book</ a >
99
- < a href ="https://forms.gle/iPiEc4wfW84e8QrS9 " target ="_blank " class ="btn-preorder "> Leave a feedback</ a >
96
+ < div class ="button-container ">
97
+ < a href ="assets/book/learn_python_with_jupyter.pdf " class ="button "> Get the free book</ a >
98
+ < a href ="https://forms.gle/iPiEc4wfW84e8QrS9 " target ="_blank " class ="button "> Leave a feedback</ a >
99
+ </ div >
100
100
< br >
101
101
< br >
102
102
< h5 > Read about the book on < a href ="https://medium.com/p/11214f152159 " target ="_blank "> Project Jupyter's blog</ a > ! </ h5 >
You can’t perform that action at this time.
0 commit comments