Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
TanishMoral11 committed Feb 27, 2024
1 parent d3ec0f9 commit bb05fde
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"liveServer.settings.port": 5501
"liveServer.settings.port": 5502
}
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- Meta tags for character set and viewport -->
<meta charset="UTF-8">
<link rel="shortcut icon" type="Resources_icon" href="Resources_Logo.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=2.0">
<!-- Page title -->
<title>Your Resources</title>
<!-- External CSS styles -->
Expand Down Expand Up @@ -46,7 +46,7 @@ <h1 class="Main_title">
<div class="logo"><a href="#" id="TMresources">TM Resources</a></div>
<div class="nav-links">
<div class="sidebar-logo">
<span class="logo-name">CodingLab</span>
<span class="logo-name">TM Resources</span>
<i class='bx bx-x'></i>
</div>
<ul class="links">
Expand Down
38 changes: 31 additions & 7 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
body {
background-color: black;
color: black;
padding-top: 70px;
padding-top: 5px;

padding-left: 0;
width: auto;

}

#programming_lan {
Expand All @@ -28,7 +32,8 @@ body {
.icon {
width: 20px;
height: 20px;
margin-right: 5px;


}
#scrollToTopBtn{
display: none;
Expand Down Expand Up @@ -144,7 +149,7 @@ body {
font-size: 25px;
padding: 2px 6px;
white-space: nowrap;
margin-right: 10vh;
/* margin-right: 10vh; */

}
.sub_parts {
Expand All @@ -155,12 +160,20 @@ body {
}

@media (max-width: 600px) {
body{
margin: 0;
}
.Main_title {
font-size: 4vh;
width: 100%;
margin-top: 55px;


}
#scrollToTopBtn{
display: block;
display: none;
padding: 0;
margin: 0;
}
.container {
flex-direction: column;
Expand Down Expand Up @@ -222,6 +235,7 @@ nav{
background: #3E8DA8;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
z-index: 99;
margin-bottom: 20px;
}
nav .navbar{
height: 100%;
Expand All @@ -233,6 +247,7 @@ nav .navbar{
margin: auto;
/* background: red; */
padding: 0 50px;
/* margin-bottom:100px; */
}
.navbar .logo a{
font-size: 30px;
Expand Down Expand Up @@ -384,6 +399,9 @@ nav .navbar .links li:hover .js-sub-menu{
display: none;
}
@media (max-width:920px) {
body{
margin: 0;
}
nav .navbar{
max-width: 100%;
padding: 0 25px;
Expand All @@ -400,10 +418,13 @@ nav .navbar .links li:hover .js-sub-menu{
font-size: 15px;
}
#scrollToTopBtn{
display: block;
display: none;
}
}
@media (max-width:800px){
body{
margin: 0;
}
nav{
position: relative;
}
Expand Down Expand Up @@ -502,15 +523,18 @@ nav .navbar .links li .sub-menu li{
transform: rotate(90deg);
}
#scrollToTopBtn{
display: block;
display: none;
}
}
@media (max-width:370px){
body{
margin: 0;
}
nav .navbar .nav-links{
max-width: 100%;
}
#scrollToTopBtn{
display: block;
display: none;
}
}

Expand Down

0 comments on commit bb05fde

Please sign in to comment.