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 @@