Made some fixes and removed bootstrap.

This commit is contained in:
deepjyoti30
2020-05-12 21:25:56 +05:30
parent aee78c2646
commit 34b69f727d
3 changed files with 20 additions and 14 deletions

View File

@@ -3,7 +3,7 @@
font-family: 'Roboto', sans-serif; }
body {
height: 100vh;
height: 97.5vh;
display: flex;
align-items: center;
justify-content: center;
@@ -43,11 +43,14 @@ body {
.main #other-content .sqr {
display: inline-block;
margin: 20px 5px 0 5px;
width: 200px;
width: 170px;
background: #2e2e2e;
padding: 20px 15px;
padding: 15px 15px;
border-radius: 6px;
min-height: 150px; }
.main #other-content .sqr h4 {
font-size: 18px;
margin: 15px; }
.main #other-content .sqr:hover {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
@@ -55,7 +58,9 @@ body {
color: #9E9E9E;
font-size: 16px;
transition: .1s ease-in;
display: block; }
display: block;
text-decoration: none;
line-height: 22px; }
.main #other-content .sqr a:hover {
color: #fff;
text-decoration: none;

View File

@@ -4,14 +4,11 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>startpage</title>
<!--Bootsrap CSS-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css">
<!--Custom CSS-->
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div id="main" class="my-auto py-5 main">
<div id="main" class="main">
<div id="message">
<h1>Hey Deepjyoti, Good Morning!</h1>
</div>
@@ -51,9 +48,6 @@
</div>
<!-- JQuery -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!--Bootstrap JS files-->
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/js/bootstrap.min.js"></script>
<!--Custom JS-->
<script src="js/main.js"></script>
</body>

View File

@@ -11,7 +11,7 @@ $others: #81C784;
}
body {
height: 100vh;
height: 97.5vh;
display: flex;
align-items: center;
justify-content: center;
@@ -65,12 +65,17 @@ body {
.sqr {
display: inline-block;
margin: 20px 5px 0 5px;
width: 200px;
width: 170px;
background: lighten($background, 5);
padding: 20px 15px;
padding: 15px 15px;
border-radius: 6px;
min-height: 150px;
h4 {
font-size: 18px;
margin: 15px;
}
&:hover {
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
@@ -81,6 +86,8 @@ body {
font-size: 16px;
transition: .1s ease-in;
display: block;
text-decoration: none;
line-height: 22px;
&:hover {
color: $foreground;