Rounded cornerssss
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<div class="wrapper">
|
||||||
<div class="about-text" value="">
|
<div class="about-text" value="">
|
||||||
<h1>About</h1>
|
<h1>About</h1>
|
||||||
<p>
|
<p>
|
||||||
@@ -70,6 +71,7 @@
|
|||||||
<canvas id="gradeBar" style="width:100%;height:100%;"></canvas>
|
<canvas id="gradeBar" style="width:100%;height:100%;"></canvas>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<footer>Created by Derek Chen
|
<footer>Created by Derek Chen
|
||||||
<!-- because VAPA lecture was a bit boring that day -->
|
<!-- because VAPA lecture was a bit boring that day -->
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
23
main.css
23
main.css
@@ -1,7 +1,7 @@
|
|||||||
body {
|
body {
|
||||||
font-family: 'Helvetica Neue', sans-serif;
|
font-family: 'Helvetica Neue', sans-serif;
|
||||||
background: #1b1a2a;
|
background: #1b1a2a;
|
||||||
background: linear-gradient(90deg, rgba(61, 87, 92, 1) 0, #454454 100%)
|
background: linear-gradient(90deg, rgba(61, 87, 92, 1) 0, #454454 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@@ -40,23 +40,38 @@ footer {
|
|||||||
box-sizing: border-box
|
box-sizing: border-box
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wrapper {
|
||||||
|
display: grid;
|
||||||
|
gap: 2vw;
|
||||||
|
grid-auto-rows: minmax(100px, auto);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.about-text {
|
.about-text {
|
||||||
background-color: rgba(0, 0, 0, .4);
|
background-color: rgba(0, 0, 0, .4);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: 3px solid #f1f1f1;
|
border: 3px solid #f1f1f1;
|
||||||
text-align: center
|
text-align: center;
|
||||||
|
grid-column: 1;
|
||||||
|
grid-row: 1;
|
||||||
|
border-radius: 10px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-form {
|
.bg-form {
|
||||||
background-color: rgba(0, 0, 0, .4);
|
background-color: rgba(0, 0, 0, .4);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: 3px solid #f1f1f1;
|
border: 3px solid #f1f1f1;
|
||||||
text-align: center
|
text-align: center;
|
||||||
|
grid-column: 1;
|
||||||
|
grid-row: 2;
|
||||||
|
border-radius: 10px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.chart-container {
|
.chart-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
height: 80vh;
|
height: 80vh;
|
||||||
width: 80vw
|
width: 80vw;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user