Skip to content

Commit

Permalink
Responsive1 added
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmendozaospina committed Dec 18, 2024
1 parent 730f167 commit b7d838f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
16 changes: 12 additions & 4 deletions assets/css/responsive.css → assets/css/responsive-index.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@charset "utf-8";

@media (max-width: 1180px) {
.form-group,
.button-container {
display: flex;
flex-direction: column;
Expand All @@ -27,21 +28,28 @@
}
}

@media (max-width: 338px) {
@media (max-width: 399px) {

html {
min-width: 338px;
min-width: 399px;
}

.right-section {
display: none;
}

#username,
#password,
.login-btn,
.create-btn {
width: 290px;
margin-right: 20px;
max-width: calc(100% - 40px);
margin-right: 20px;
}

.form-group {
input[type='text'],
input[type='password'] {
background: none;
}
}
}
8 changes: 5 additions & 3 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
}

html {
min-width: 338px;
overflow-x: hidden;
min-width: 399px;
}

body {
Expand All @@ -36,7 +35,10 @@ body {
font-weight: 400;
letter-spacing: 0.5px;
color: var(--app-white);
overflow-x: hidden;
}

html, body {
overflow-y: hidden;
}

main {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/mrspecht/cdn/reset.css" media="all">
<link rel="shortcut icon" href="./assets/img/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="./assets/css/style.css" media="all">
<link rel="stylesheet" href="./assets/css/responsive.css" media="all">
<link rel="stylesheet" href="./assets/css/responsive-index.css" media="all">
<script src="./assets/js/login.js" type="module"></script>
</head>
<body>
Expand Down

0 comments on commit b7d838f

Please sign in to comment.