Reworked some css, made our friendly button look better and footer is stuck for good
This commit is contained in:
@@ -75,20 +75,20 @@
|
||||
</select>
|
||||
<br><br>
|
||||
</form>
|
||||
<button type="button" id="subBut">Submit</button><br><br>
|
||||
<button type="button" id="subBut" class="submit-button">Submit</button><br><br>
|
||||
</form>
|
||||
<div class="chart-container" id="grades" value="invisible" style="position: relative; height:40vh; width:80vw">
|
||||
<!--Bar graph stuff-->
|
||||
<canvas id="gradeBar" style="width:100%;height:100%;"></canvas>
|
||||
</div>
|
||||
</div>
|
||||
<footer>Created by Derek Chen
|
||||
<div class="footy">Created by Derek Chen
|
||||
<!-- because VAPA lecture was a bit boring that day -->
|
||||
<iframe
|
||||
src="https://ghbtns.com/github-btn.html?user=Derec4&repo=ut-grade-distribution-viewer&type=star&count=true&size=large"
|
||||
frameborder="0" scrolling="0" width="170" height="30" title="GitHub">
|
||||
frameborder="0" scrolling="0" width="100" height="30" title="GitHub">
|
||||
</iframe>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src='main.js'></script>
|
||||
</body>
|
||||
|
||||
@@ -8,12 +8,14 @@
|
||||
--footer-size: 10px;
|
||||
--background-gradient: linear-gradient(90deg, rgba(61, 87, 92, 1) 0, #454454 100%);
|
||||
--link-color: #2c82c9;
|
||||
font-family: 'Helvetica Neue', sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Helvetica Neue', sans-serif;
|
||||
background: #1b1a2a;
|
||||
background: var(--background-gradient);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
@@ -25,11 +27,11 @@ main {
|
||||
padding: 10%;
|
||||
}
|
||||
|
||||
footer {
|
||||
.footy {
|
||||
background-color: #2e2d2d;
|
||||
color: #fff;
|
||||
padding: 1%;
|
||||
position: absolute;
|
||||
position: relative;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
@@ -38,6 +40,7 @@ footer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-self: flex-end;
|
||||
}
|
||||
|
||||
* {
|
||||
@@ -50,9 +53,25 @@ footer {
|
||||
grid-auto-rows: minmax(100px, auto);
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
margin-top: 10px;
|
||||
min-height: 100vh;
|
||||
/* background-color: rgba(0, 0, 0, .4); */
|
||||
}
|
||||
|
||||
.submit-button {
|
||||
display: flex;
|
||||
padding: 5px 10px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
align-self: center;
|
||||
gap: 15px;
|
||||
border-radius: 10px;
|
||||
border: 2px solid #000;
|
||||
max-width: 150px;
|
||||
width: 100%;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.about-text {
|
||||
background-color: rgba(0, 0, 0, .4);
|
||||
border: 3px solid #f1f1f1;
|
||||
@@ -75,6 +94,8 @@ footer {
|
||||
margin: 0 auto;
|
||||
border-radius: 10px;
|
||||
padding: var(--bg-form-padding);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.chart-container {
|
||||
|
||||
Reference in New Issue
Block a user