Browse Source

i want to die

master
crt 2 months ago
parent
commit
216f392e4e
  1. 25
      css/boxes.css
  2. 50
      css/flexboxes.css
  3. 1
      css/waves.css
  4. 24
      index.html

25
css/boxes.css

@ -0,0 +1,25 @@
.card {
max-width: 300px;
min-height: 200px;
display: flex;
flex-direction: column;
justify-content: space-between;
max-width: 500px;
height: 300px;
padding: 35px;
border: 1px solid rgba(255, 255, 255, 0.25);
border-radius: 20px;
background-color: rgba(255, 255, 255, 0.45);
box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
backdrop-filter: blur(15px);
}
.card-footer {
font-size: 0.65em;
color: #446;
}
.pbox:not(:last-child) {
margin-bottom: 1.5em;
}

50
css/flexboxes.css

@ -0,0 +1,50 @@
.wrapper {
margin: 0 auto;
width: 80%;
}
.cards {
list-style: none;
margin: 0;
padding: 0;
}
.cards li {
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 35px;
border: 1px solid rgba(255, 255, 255, 0.25);
border-radius: 20px;
background-color: rgba(255, 255, 255, 0.45);
box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
}
.flex-box {
display: flex;
flex-wrap: wrap;
}
.flex-box li {
flex: 1 1 200px;
margin: 10px;
}
.grid {
display: grid;
grid-template-columns: repeat(3,1fr);
/*grid-template-columns: repeat(auto-fill, minmax(200px 1fr));*/
grid-gap: 20px;
}
.silly-font {
font-family: 'Quicksand'
}
.center-this-shit {
text-align:center;
}
.nocent {
text-align:left;
}

1
css/waves.css

@ -6,7 +6,6 @@ body {
}
h1 {
font-family: 'Lato', sans-serif;
font-weight:300;
letter-spacing: 2px;
font-size:48px;

24
index.html

@ -7,6 +7,8 @@
<link rel="stylesheet" href="css/waves.css">
<link rel="stylesheet" href="css/nav.css">
<link rel="stylesheet" href="css/scaler.css">
<link rel="stylesheet" href="css/flexboxes.css">
<link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Quicksand&display=swap" rel="stylesheet">
<style>
.content-div {
@ -30,7 +32,7 @@
</style>
</head>
<body>
<body class="silly-font">
<div class="header">
<div class="nav-bar" style="font-family: 'Quicksand'">
<div id="links">
@ -70,7 +72,23 @@ viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<p></p>
</div>
<div id="Services" class="content content-div">
<p style="font-family: 'Quicksand'">Services content here</p>
<div class="wrapper">
<h1 class="center-this-shit">Flexbox</h1>
<ul class="flex-box cards nocent">
<li><h2>Most used</h2>
<p>Put like most used services here idk
</p></li>
</ul>
<ul class="flex-box cards nocent">
<li><h2>Public Services</h2>
<p>Posuere varius ullamcorper ipsum adipiscing dignissim ipsum adipiscing a a quisque malesuada quam purus venenatis sagittis fermentum parturient curabitur montes a metus.
</p></li>
<li><h2>Private Services</h2>
<p>Posuere varius ullamcorper ipsum adipiscing dignissim ipsum adipiscing a a quisque malesuada quam purus venenatis sagittis fermentum parturient curabitur montes a metus.
</p></li>
</ul>
</div>
<br>
</div>
<div id="About" class="content content-div">
<p style="font-family: 'Quicksand'">About content here</p>
@ -79,7 +97,7 @@ viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<p style="font-family: 'Quicksand'">Contact content here</p>
</div>
<!-- Content ends -->
<div class="footer"><p style="font-family: 'Quicksand'">Adastra7 | 2017-2014</p></div>
<!--<div class="footer"><p style="font-family: 'Quicksand'">Adastra7 | 2017-2014</p></div>-->
<script>
function changeContent(pageName) {

Loading…
Cancel
Save