More CSS streamlining

This commit is contained in:
Lucas Patenaude
2024-04-24 02:54:33 -06:00
parent 31637aaef4
commit 0f1288524a
5 changed files with 18 additions and 71 deletions

View File

@@ -11,31 +11,31 @@
} }
.form-container { .form-container {
width: 50%; /* Adjust width as needed */ width: 70%; /* Adjust width as needed */
margin: 0 auto; /* Center horizontally */ margin: 0 auto; /* Center horizontally */
text-align: center; /* Center text horizontally */ text-align: center; /* Center text horizontally */
} }
/* Styling to center register page items */ .account-portal-button {
.register-page { padding: 5px 10px;
height: 50%; background-color: red;
display: flex; border-color: red;
justify-content: center; /* Center items horizontally */
align-items: center; /* Center items vertically */ border: 1px solid red;
border-radius: 8px;
color: white;
}
.account-portal-button:hover {
background-color: darkred;
border-color: darkred;
color: white;
} }
body { body {
font-family: "Golos Text"; font-family: "Golos Text";
} }
#dropdown {
padding: 5px;
}
#league_dropdown {
margin : 100x;
}
/* Apply modern styling to inputs and select elements */ /* Apply modern styling to inputs and select elements */
#form-control, #form-control,
select { select {
@@ -50,8 +50,6 @@ select {
margin-bottom: 10px; /* Example margin */ margin-bottom: 10px; /* Example margin */
} }
/* Adjust styling for form labels */ /* Adjust styling for form labels */
.form-label { .form-label {
font-weight: bold; /* Example font weight */ font-weight: bold; /* Example font weight */
@@ -59,6 +57,6 @@ select {
/* Adjust styling for buttons */ /* Adjust styling for buttons */
.btn { .btn {
margin-top: 10px; /* Example margin */ margin-top: 30px; /* Example margin */
} }

View File

@@ -2,46 +2,5 @@
display: none; display: none;
} }
#login-page {
}
#login-submit {
padding: 5px 10px;
background-color: red;
border-color: red;
border: 1px solid red;
border-radius: 8px;
color: white;
}
#login-submit:hover {
background-color: darkred;
border-color: darkred;
color: white;
}
/* CSS for the account info card */
.account-info-card {
border: 1px solid #ccc;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px;
width: 300px;
}
.info-container {
margin-bottom: 10px;
}
#username {
font-size: 18px;
font-weight: bold;
color: #333;
}
#teamlogo{
width: 23px;
height: 23px;
}

View File

@@ -1,13 +1,3 @@
#register-container { #register-container {
display: none; display: none;
} }
#register-page button {
padding: 5px 10px;
background-color: red;
border-color: red;
border: 1px solid red;
border-radius: 8px;
color: white;
}

View File

@@ -20,7 +20,7 @@
<input type="password" class="form-control" id="password" name="password" required> <input type="password" class="form-control" id="password" name="password" required>
</div> </div>
<button type="submit" id="login-submit">Submit</button> <button class="account-portal-button" type="submit" id="login-submit">Submit</button>
</form> </form>

View File

@@ -17,7 +17,7 @@
<input type="password" class="form-control" id="passwordInput" name="password" required> <input type="password" class="form-control" id="passwordInput" name="password" required>
</div> </div>
<button type="submit">Submit</button> <button type="submit" class="account-portal-button">Submit</button>
</form> </form>
<!--- END OF FORM ---> <!--- END OF FORM --->