Browse Source

refactor html generator, add alpinejs, add tailwindcss layout

MFTECH 1 year ago
parent
commit
30a965bc5e
2 changed files with 158 additions and 126 deletions
  1. 149
    117
      gitstats
  2. 9
    9
      gitstats.css

+ 149
- 117
gitstats
File diff suppressed because it is too large
View File


+ 9
- 9
gitstats.css View File

65
 }
65
 }
66
 
66
 
67
 /* Navigation bar; tabbed style */
67
 /* Navigation bar; tabbed style */
68
-.nav {
68
+/* .nav {
69
 	border-bottom: 1px solid black;
69
 	border-bottom: 1px solid black;
70
 	padding: 0.3em;
70
 	padding: 0.3em;
71
 }
71
 }
93
 .nav li a:hover {
93
 .nav li a:hover {
94
 	background-color: #ddd;
94
 	background-color: #ddd;
95
 	border-bottom: 1px solid #ddf;
95
 	border-bottom: 1px solid #ddf;
96
-}
96
+} */
97
 
97
 
98
-img {
98
+main img {
99
 	border: 1px solid black;
99
 	border: 1px solid black;
100
 	padding: 0.5em;
100
 	padding: 0.5em;
101
 	background-color: white;
101
 	background-color: white;
112
 	text-decoration: none;
112
 	text-decoration: none;
113
 }
113
 }
114
 
114
 
115
-h1:hover a:after,
116
-h2:hover a:after {
115
+main  h1:hover a:after,
116
+main  h2:hover a:after {
117
 	content: '¶';
117
 	content: '¶';
118
 	color: #555;
118
 	color: #555;
119
 }
119
 }
120
 
120
 
121
-h1 {
121
+main h1 {
122
 	font-size: x-large;
122
 	font-size: x-large;
123
 }
123
 }
124
 
124
 
125
-h2 {
125
+main  h2 {
126
 	background-color: #564;
126
 	background-color: #564;
127
 	border: 1px solid black;
127
 	border: 1px solid black;
128
 	padding-left: 0.5em;
128
 	padding-left: 0.5em;
132
 	clear: both;
132
 	clear: both;
133
 }
133
 }
134
 
134
 
135
-h2 a {
135
+main h2 a {
136
 	color: white;
136
 	color: white;
137
 }
137
 }
138
 
138
 
139
-.moreauthors {
139
+main .moreauthors {
140
 	font-size: 80%;
140
 	font-size: 80%;
141
 }
141
 }