Skip to content

Commit

Permalink
Module 4 of CS added and some changes in BG ETC..
Browse files Browse the repository at this point in the history
  • Loading branch information
shad committed Nov 17, 2024
1 parent 04996e5 commit e75e421
Show file tree
Hide file tree
Showing 8 changed files with 87 additions and 7 deletions.
Binary file added ComputerScience/Sem-01/Module 4.pdf
Binary file not shown.
15 changes: 13 additions & 2 deletions ComputerScience/cs.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ComputerScience</title>
<link rel="stylesheet" href="style.css">
</head>
<body>


<body>
<h1 class="title">Computer Science</h1>
<div class="bg-text">
<h1><a href="./Sem-01/Module 1 - Part 1.pdf">Module 1.1 </a></h1>
<h1><a href="./Sem-01/Module 1 - Part 2.pdf">Module 1.2 </a></h1>
<h1><a href="./Sem-01/Module 2.pdf">Module 2 </a></h1>
<h1><a href="./Sem-01/Module 3.pdf">Module 3 </a></h1>
<h1><a href="./Sem-01/Module 4.pdf">Module 4 </a></h1>
</div>
</body>
</html>

</html>
63 changes: 63 additions & 0 deletions ComputerScience/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@


body::before {
content: ""; /* Important */
z-index: -1; /* Important */
position: inherit;
left: inherit;
top: inherit;
width: inherit;
height: inherit;
background-image: inherit;
background-size: cover;
filter: blur(2px);
}

body {
background-image: url("https://wallpapercave.com/wp/wp2099950.png");
background-size: 0 0; /* Image should not be drawn here */
width: 100%;
height: 100%;
position: fixed; /* Or absolute for scrollable backgrounds */
}

* {
box-sizing: border-box;
}
.title{
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
color: white;
font-weight: bold;
border: 3px solid #f1f1f1;
text-align: center;
}



.bg-text {
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
color: white;
font-weight: bold;
border: 3px solid #f1f1f1;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
width: 80%;
padding: 20px;
text-align: center;
}
a{
color: white;
text-decoration: none;
font-size: 25px;

}

a:hover{
color: #fca2a2;
font-size: 25px;
}
Binary file added MDC-Psych/module4.pdf
Binary file not shown.
4 changes: 4 additions & 0 deletions MDC-Psych/psychology.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
<br>
<br>
<a href="">Module 03</a>
<br>
<br>

<a href="./module4.pdf">Module 04</a>
</div>


Expand Down
2 changes: 1 addition & 1 deletion MDC-Psych/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body, html {

.bg-image {
/* The image used */
background-image: url("/bg.png");
background-image: url("https://wallpapercave.com/wp/wp3194209.jpg");

/* Add the blur effect */
filter: blur(8px);
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
<div class="bg-text">
<a href="ComputerScience/cs.html">Computer Science</a>
<br><br>
<a href="https://shad-ct.github.io/FYIMP-Resource/Math/math.html">Math</a>
<a href="Math/math.html">Math</a>
<br>
<br>
<a href="https://shad-ct.github.io/FYIMP-Resource/MDC-Psych/psychology.html">Psychology</a>
<a href="MDC-Psych/psychology.html">Psychology</a>
</div>


Expand Down
6 changes: 4 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
body, html {
height: 100%;
border: 0px;
margin: 0px;
}

* {
Expand All @@ -8,11 +10,11 @@ body, html {

.bg-image {
/* The image used */
background-image: url("/bg.png");
background-image: url(https://wallpapercave.com/wp/wp3194209.jpg);

/* Add the blur effect */
filter: blur(8px);
-webkit-filter: blur(8px);
-webkit-filter: blur(0px);

/* Full height */
height: 100%;
Expand Down

0 comments on commit e75e421

Please sign in to comment.