diff --git a/students/static/students/students.css b/students/static/students/students.css index 93ac884..4159327 100644 --- a/students/static/students/students.css +++ b/students/static/students/students.css @@ -1,6 +1,6 @@ .allStudents { display: grid; - grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); + grid-template-columns: repeat(auto-fill, minmax(250px, 2fr)); } .student { diff --git a/students/static/students/students.min.css b/students/static/students/students.min.css index c93b9c4..93f5125 100644 --- a/students/static/students/students.min.css +++ b/students/static/students/students.min.css @@ -1 +1 @@ -.allStudents{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}.student{box-sizing:border-box;padding:1rem;margin:1rem;box-shadow:0 0 10px rgba(67,67,67,.5);border-radius:10px;border:1px solid #ccc;overflow:hidden}.student a{color:#000;text-decoration:underline}form input{box-sizing:border-box;display:block;margin:1rem;padding:.5em;border:1px solid var(--color-grey-dark);border-radius:.25rem;box-shadow:0 .5rem 1rem rgba(0,0,0,.2);width:calc(100% - 2rem)}#SubmitButtons{display:grid;grid-template-columns:repeat(2,1fr)}form #submit{background-color:var(--color-gold);color:var(--color-grey-dark);font-weight:700;cursor:pointer} \ No newline at end of file +.allStudents{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,2fr))}.student{box-sizing:border-box;padding:1rem;margin:1rem;box-shadow:0 0 10px rgba(67,67,67,.5);border-radius:10px;border:1px solid #ccc;overflow:hidden}.student a{color:#000000;text-decoration:underline}form input{box-sizing:border-box;display:block;margin:1rem;padding:.5em;border:1px solid var(--color-grey-dark);border-radius:.25rem;box-shadow:0 .5rem 1rem rgba(0,0,0,.2);width:calc(100% - 2rem)}#SubmitButtons{display:grid;grid-template-columns:repeat(2,1fr)}form #submit{background-color:var(--color-gold);color:var(--color-grey-dark);font-weight:bold;cursor:pointer} \ No newline at end of file