diff --git a/app/fantasy_cricket/static/fonts/hackerspace.ttf.REMOVED.git-id b/app/fantasy_cricket/static/fonts/hackerspace.ttf.REMOVED.git-id new file mode 100644 index 00000000..3f8da77c --- /dev/null +++ b/app/fantasy_cricket/static/fonts/hackerspace.ttf.REMOVED.git-id @@ -0,0 +1 @@ +53fe1c229697eae81ec113266d66ec19b704b6f1 \ No newline at end of file diff --git a/app/fantasy_cricket/static/icon.png b/app/fantasy_cricket/static/icon.png new file mode 100644 index 00000000..a81e1258 Binary files /dev/null and b/app/fantasy_cricket/static/icon.png differ diff --git a/app/fantasy_cricket/static/styles/style.css b/app/fantasy_cricket/static/styles/style.css index 0c514a00..fb294015 100644 --- a/app/fantasy_cricket/static/styles/style.css +++ b/app/fantasy_cricket/static/styles/style.css @@ -1,4 +1,4 @@ -/* This folloeing style sheet is not being used */ +/* This following style sheet is not being used */ body { background-image: url("../images/background1.jpg"); } diff --git a/app/fantasy_cricket/static/styles/style1.css b/app/fantasy_cricket/static/styles/style1.css index 1983bd9c..c714e50c 100644 --- a/app/fantasy_cricket/static/styles/style1.css +++ b/app/fantasy_cricket/static/styles/style1.css @@ -11,7 +11,7 @@ height: 100%; filter: blur(2px); } - + .content{ position: fixed; left: 0; @@ -30,7 +30,8 @@ h1 { margin-bottom: 1em; } -.line1 { +.line1 { + margin-top: 4em; margin-left: 2em; display: grid; grid-template-columns: auto auto auto auto auto; @@ -39,16 +40,15 @@ h1 { padding: 10px; text-align: center; font-size: large; - font-weight:20px; + font-weight:600; } .line2 { - margin-top: 4em; display: grid; grid-template-columns: auto auto auto auto auto auto; text-align: center; font-size: large; - font-weight:40px; + font-weight:600; } p { @@ -84,4 +84,50 @@ figcaption { padding-bottom: 30px; margin-left: 40px; margin-right: 40px; +} + +.fix{ + display: none; +} + + +@media only screen and (max-width: 1100px) { + .fix{ + display: inline; + } + h1 { + font-size: 20px; + } + .button { + line-height:20px; + font-size: 15px; + } + figcaption { + font-size: 10px; + } + .whiteCard{ + padding: 10px; + padding-top:10px ; + padding-bottom: 10px; + margin-left: 10px; + margin-right: 10px; + } + + .line1 { + margin-top: 1em; + margin-left: 0px; + grid-row-gap: 0px; + grid-gap:0px; + padding: 0px; + font-weight:600; + } + + .line2 { + margin-top: 0em; + display: grid; + grid-template-columns: auto auto auto auto auto auto; + text-align: center; + font-size: large; + font-weight:600; + } } \ No newline at end of file diff --git a/app/fantasy_cricket/static/styles/style2.css b/app/fantasy_cricket/static/styles/style2.css index fd8d13d8..9b79e21c 100644 --- a/app/fantasy_cricket/static/styles/style2.css +++ b/app/fantasy_cricket/static/styles/style2.css @@ -13,13 +13,12 @@ body { margin-left: 20px; margin-right: 20px; } - + .container{ display: flex; flex-direction: row; justify-content: center; border-radius: 5px; - } .space{ @@ -77,4 +76,52 @@ body { .team2{ height:25px; width: 25px; +} +#grey{ + width: 100%; + position: fixed; + height:100%; + background-color: rgb(0, 0, 0,0.9); + top:0%; + left:0%; + display: none; +} +#loading{ + width: 250px; + position: fixed; + height:auto; + top:30%; + left:40%; + display: none; +} + +@media only screen and (max-width: 1100px) { + #loading{ + width: 150px; + top:30%; + left:40%; + } +} + +@media only screen and (max-width: 600px) { + #loading{ + width: 150px; + top:30%; + left:30%; + } + .container{ + flex-direction: column; + } + .heading{ + font-size: 20px; + } + .content{ + font-size: 15px; + background-color:rgb(255,255,255,0.9); + padding: 10px; + padding-top:5px ; + padding-bottom: 5px; + margin-left: 30px; + margin-right: 30px; + } } \ No newline at end of file diff --git a/app/fantasy_cricket/templates/Playing_11.html b/app/fantasy_cricket/templates/Playing_11.html index c0f034fd..5647a46c 100644 --- a/app/fantasy_cricket/templates/Playing_11.html +++ b/app/fantasy_cricket/templates/Playing_11.html @@ -17,6 +17,9 @@ Choose your playing 11 + + +
- +
+
-

{{teams[1]}} @@ -75,27 +78,14 @@

- + +
+ -
- Loading +
+ Loading

Loading....

diff --git a/app/fantasy_cricket/templates/index.html b/app/fantasy_cricket/templates/index.html index 449f5624..5340b9d4 100644 --- a/app/fantasy_cricket/templates/index.html +++ b/app/fantasy_cricket/templates/index.html @@ -29,9 +29,15 @@ Fantasy-cricket Prediction + + @@ -132,7 +177,7 @@
-
+
Best Playing 11 Recommendation System
@@ -189,7 +234,7 @@


-

+

If there is any match missing that you would like us to add
Do raise a issue on Github by clicking on the button below


diff --git a/app/fantasy_cricket/templates/result.html b/app/fantasy_cricket/templates/result.html index 61117878..6ad88eba 100644 --- a/app/fantasy_cricket/templates/result.html +++ b/app/fantasy_cricket/templates/result.html @@ -16,15 +16,24 @@ --> + + + @@ -39,15 +48,16 @@

Your Recommended Team

-
+ +
+
Your Recommended Team

/>
{{ t6 }}{{ c6 }}{{ v6 }}
+
Your Recommended Team

/>
{{ t7 }}{{ c7 }}{{ v7 }}
+
Your Recommended Team />
{{ t8 }}{{ c8 }}{{ v8 }}
+
Your Recommended Team />
{{ t9 }}{{ c9 }}{{ v9 }}
+
Your Recommended Team />
{{ t10 }}{{ c10 }}{{ v10 }}
+
Your Recommended Team
+ +
+
+ +
{{ t1 }}{{ c1 }}{{ v1 }}
+
+
+
+ +
{{ t2 }}{{ c2 }}{{ v2 }}
+
+
+ +
{{ t3 }}{{ c3 }}{{ v3 }}
+
+
+
+ +
{{ t4 }}{{ c4 }}{{ v4 }}
+
+
+
+ +
{{ t5 }}{{ c5 }}{{ v5 }}
+
+
+ + +