make cards a bit prettier
use grid layout to limit width to three, and keep it centered so it isnt ungly
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
<p>Email: cesium2349@protonmail.com (<a href=./pgp.txt>PGP Key</a>)
|
<p>Email: cesium2349@protonmail.com (<a href=./pgp.txt>PGP Key</a>)
|
||||||
<br>not an exhaustive list of my entire presence on the internet but stuff on this list is definitely me</p>
|
<br>not an exhaustive list of my entire presence on the internet but stuff on this list is definitely me</p>
|
||||||
|
|
||||||
|
<div class=contacts>
|
||||||
<div class=contact style="background-color: #475276; opacity:1; cursor: auto;">
|
<div class=contact style="background-color: #475276; opacity:1; cursor: auto;">
|
||||||
<h3>Discord</h3>
|
<h3>Discord</h3>
|
||||||
<p>Cesium#5061</p>
|
<p>Cesium#5061</p>
|
||||||
@@ -49,6 +50,7 @@
|
|||||||
<p>cesium2349</p>
|
<p>cesium2349</p>
|
||||||
<a title="Twitter" href="https://twitter.com/cesium2349"></a>
|
<a title="Twitter" href="https://twitter.com/cesium2349"></a>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<p style="clear: left;text-align: center;"><a href="https://github.com/CesiumCs/cesium.one"><img src="assets/GitHub-Mark-Light.png" style="width:2em" alt="View on GitHub"></a></p>
|
<p style="clear: left;text-align: center;"><a href="https://github.com/CesiumCs/cesium.one"><img src="assets/GitHub-Mark-Light.png" style="width:2em" alt="View on GitHub"></a></p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
13
styles.css
13
styles.css
@@ -16,11 +16,22 @@ a {
|
|||||||
* { /* unfucks some stuff */
|
* { /* unfucks some stuff */
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
.contacts {
|
||||||
|
width: 550px;
|
||||||
|
margin:auto;
|
||||||
|
display: grid;
|
||||||
|
grid-template-areas: /* i know how to do it this way, */
|
||||||
|
'one two three'; /* so shut up about the "right way" */
|
||||||
|
grid-gap: 10px;
|
||||||
|
padding: 10px;
|
||||||
|
grid-auto-columns: 1fr;
|
||||||
|
grid-auto-rows: 1fr;
|
||||||
|
|
||||||
|
}
|
||||||
.contact {
|
.contact {
|
||||||
float: left;
|
float: left;
|
||||||
width: 170px;
|
width: 170px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
margin: 0px 10px 10px 0px;
|
|
||||||
background-color: #232629;
|
background-color: #232629;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user