File tree 6 files changed +52
-12
lines changed
6 files changed +52
-12
lines changed Original file line number Diff line number Diff line change 4
4
<!--Scripts-->
5
5
< script type ="text/javascript " src ={{ "/js/jquery.min.js" | relative_url }}> </ script >
6
6
< script type ="text/javascript " src ={{ "/js/materialize.min.js" | relative_url }}> </ script >
7
+ < script type ="text/javascript " src ={{ "/js/main.js" | relative_url }}> </ script >
7
8
< script src ="https://use.fontawesome.com/d4f41d4038.js "> </ script >
Original file line number Diff line number Diff line change 9
9
padding-top : 1% ;
10
10
padding-bottom : 1% ;
11
11
margin : 0% ;
12
- font-size : 1.4 rem ;
12
+ font-size : 3 vh ;
13
13
}
14
14
15
15
footer .credits {
16
16
margin : 0px ;
17
- font-size : 1.2 rem ;
17
+ font-size : 2.8 vh ;
18
18
}
19
19
20
20
footer .footer-copyright {
21
- font-size : 1.2 rem ;
21
+ font-size : 2.8 vh ;
22
22
font-weight : normal !important ;
23
23
}
24
24
</ style >
Original file line number Diff line number Diff line change 2
2
< nav class ="blue navbar ">
3
3
< div class ="row nav-wrapper ">
4
4
< a href ="{{ '/' | relative_url }} " class ="brand-logo "> {{ site.title | escape }}</ a >
5
- < a href ="# " data-activates ="mobile-demo " class ="button-collapse "> < i class ="fa fa-bars "> </ i > </ a >
5
+ < a href ="# " data-activates ="mobile-demo " class ="button-collapse menu-btn "> < i class ="fa fa-bars "> </ i > </ a >
6
6
< ul id ="nav-mobile " class ="right hide-on-med-and-down ">
7
7
{% for page in site.pages %} {% if site.nav contains page.path %}
8
8
< li > < a href ="{{ page.url | relative_url }} "> {{ page.title | escape }}</ a > </ li >
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ <h1 class="title">NIT DGP Open Source</h1>
19
19
< h2 class ="description "> {{site.description}}</ h2 >
20
20
</ div >
21
21
</ div >
22
- < div class ="page-content center-align ">
23
- < div class ="main "> {{ content }}</ div >
22
+ < div class ="page-content center-align container ">
23
+ < div class ="main col s12 l10 "> {{ content }}</ div >
24
24
</ div >
25
25
</ main >
26
26
{% include footer.html %}
Original file line number Diff line number Diff line change @@ -46,20 +46,20 @@ html, body {
46
46
}
47
47
48
48
.page-content {
49
- width : 70% ;
50
49
margin : auto ;
51
50
margin-bottom : 5% ;
52
51
53
52
img {
54
53
display : block ;
55
- width : 75% ;
54
+ width : 95% ;
55
+ height :100% ;
56
56
padding : 2% ;
57
57
margin : auto ;
58
58
}
59
59
60
60
a {
61
61
color : limegreen ;
62
- font-weight : 700 ;
62
+ font-weight : 500 ;
63
63
border-bottom : 2px solid transparent ;
64
64
transition : all 0.5s ease ;
65
65
@@ -73,7 +73,7 @@ html, body {
73
73
}
74
74
75
75
p {
76
- font-size : 22 px ;
76
+ font-size : 3.2 vh ;
77
77
display : inline-block ;
78
78
margin-top : 10px ;
79
79
}
@@ -88,15 +88,15 @@ html, body {
88
88
code {
89
89
font-family : ' Roboto Mono' , monospace ;
90
90
color : yellow ;
91
- font-size : 1.2 rem ;
91
+ font-size : 3.2 vh ;
92
92
}
93
93
}
94
94
95
95
ul , ol {
96
96
text-align : left ;
97
97
98
98
li {
99
- font-size : 22 px ;
99
+ font-size : 3.2 vh ;
100
100
width : 95% ;
101
101
margin : auto ;
102
102
margin-top : 10px ;
@@ -107,3 +107,31 @@ html, body {
107
107
}
108
108
}
109
109
}
110
+
111
+ .navbar-fixed {
112
+ z-index : 998 !important ;
113
+ }
114
+
115
+ h1 {
116
+ font-size : 3em ;
117
+ }
118
+
119
+ h2 {
120
+ font-size : 2.5em ;
121
+ }
122
+
123
+ h3 {
124
+ font-size : 2em ;
125
+ }
126
+
127
+ h4 {
128
+ font-size : 1.5em ;
129
+ }
130
+
131
+ h5 {
132
+ font-size : 1em ;
133
+ }
134
+
135
+ h6 {
136
+ font-size : 0.8em ;
137
+ }
Original file line number Diff line number Diff line change
1
+ ( function ( $ ) {
2
+ $ ( function ( ) {
3
+
4
+ $ ( '.menu-btn' ) . sideNav ( {
5
+ edge : 'left' , // Choose the horizontal origin
6
+ closeOnClick : true , // Closes side-nav on <a> clicks
7
+ draggable : true // Choose whether you can drag to open on touch screens
8
+ } ) ;
9
+
10
+ } ) ; // end of document ready
11
+ } ) ( jQuery ) ; // end of jQuery name space
You can’t perform that action at this time.
0 commit comments