@media (max-width:600px)

This commit is contained in:
devdatt 2026-02-18 06:47:22 +05:30
parent a51a7d8ed0
commit 0be0a0b0f5
3 changed files with 69 additions and 162 deletions

View File

@ -476,16 +476,7 @@ include 'static.php';
/* MOBILE TUNING */ /* MOBILE TUNING */
@media(max-width:600px) {
.social-row {
gap: 10px;
}
.social-btn {
width: 50px;
height: 50px;
}
}
/* ===== FIREWALL PAGE ADDON ===== */ /* ===== FIREWALL PAGE ADDON ===== */
@ -556,14 +547,31 @@ include 'static.php';
border-bottom: 1px dashed rgba(255, 255, 255, .05); border-bottom: 1px dashed rgba(255, 255, 255, .05);
} }
/* mobile optimization */
@media (max-width:600px) { @media (max-width:600px) {
/* headings */
.card h2 { .card h2 {
font-size: 16px font-size: 16px;
} }
/* textarea */
textarea { textarea {
font-size: 13px font-size: 13px;
}
/* social buttons */
.social-row {
gap: 10px;
}
.social-btn {
width: 50px;
height: 50px;
}
/* password form */
.password-form {
max-width: 100%;
} }
} }
@ -671,12 +679,7 @@ include 'static.php';
position: relative; position: relative;
} }
/* mobile */
@media(max-width:600px) {
.password-form {
max-width: 100%
}
}
/* ===== CERT REQUEST PAGE ADDON ===== */ /* ===== CERT REQUEST PAGE ADDON ===== */
@ -866,6 +869,51 @@ include 'static.php';
color: #ffffff; color: #ffffff;
font-weight: 700; font-weight: 700;
} }
form[enctype="multipart/form-data"] {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
}
/* restore label */
form[enctype="multipart/form-data"]>label {
font-weight: 600;
color: #e2e8f0;
text-align: center;
}
/* file input */
form[enctype="multipart/form-data"]>input[type="file"] {
width: 100%;
max-width: 420px;
padding: 12px;
border-radius: 10px;
border: 1px dashed var(--border);
background: #020617;
color: var(--muted);
cursor: pointer;
transition: .25s;
}
/* hover + focus */
form[enctype="multipart/form-data"]>input[type="file"]:hover {
border-color: var(--accent);
background: rgba(56, 189, 248, .05);
}
form[enctype="multipart/form-data"]>input[type="file"]:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 2px rgba(56, 189, 248, .15);
}
/* restore button spacing only */
form[enctype="multipart/form-data"]>.red-btn {
margin-top: 6px;
min-width: 200px;
}
</style> </style>
</head> </head>

View File

@ -9,143 +9,6 @@ https://github.com/shreebhattji/Urmi/blob/main/licence.md
*/ */
include 'header.php'; ?> include 'header.php'; ?>
<style>
:root {
--accent: #0b74de;
--muted: #6b7280;
--card: #ffffff;
--bg: #f3f4f6
}
body {
font-family: Inter, system-ui, Arial, Helvetica, sans-serif;
background: var(--bg);
color: #111;
margin: 0;
padding: 32px
}
.wrap {
max-width: 1100px;
margin: 0 auto
}
header {
display: flex;
align-items: flex-end;
justify-content: space-between;
margin-bottom: 20px
}
header h1 {
margin: 0;
font-size: 20px
}
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 16px
}
.card {
background: var(--card);
border-radius: 12px;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
padding: 20px
}
.price {
font-size: 28px;
font-weight: 700;
color: var(--accent)
}
.muted {
color: var(--muted);
font-size: 13px
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 8px
}
th,
td {
padding: 10px;
border-bottom: 1px solid #eef2f6;
text-align: left;
font-size: 14px
}
th {
background: transparent;
font-weight: 600
}
.feature {
display: flex;
align-items: center
}
.pill {
display: inline-block;
background: #eef6ff;
border-radius: 999px;
padding: 6px 10px;
font-size: 13px;
margin-left: auto
}
.cta {
display: inline-block;
padding: 10px 14px;
border-radius: 10px;
font-weight: 600;
text-decoration: none
}
.cta-primary {
background: var(--accent);
color: #fff
}
.cta-ghost {
border: 1px solid #e6eefa;
color: var(--accent)
}
.benefits {
margin-top: 18px
}
.note {
font-size: 13px;
color: #374151;
background: #fff;
padding: 12px;
border-radius: 8px
}
footer {
margin-top: 20px;
font-size: 13px;
color: var(--muted)
}
@media (max-width:600px) {
header {
flex-direction: column;
align-items: flex-start
}
header h1 {
margin-bottom: 8px
}
}
</style>
<body> <body>

View File

@ -76,7 +76,7 @@ if ($service_rtmp1_multiple == 'enable') {
} }
if ($service_srt_multiple == 'enable') { if ($service_srt_multiple == 'enable') {
$text .= "<h5>srt://" . $domain . ":1937?streamid=shree/bhatt/ji</h5><br><br>"; $text .= "<h5>srt://" . $domain . ":1937?streamid=shree/bhatt/ji</h5>";
} }
if ($_SERVER['REQUEST_METHOD'] === 'POST') { if ($_SERVER['REQUEST_METHOD'] === 'POST') {
@ -680,10 +680,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
<h3>Output Links</h3> <h3>Output Links</h3>
<?php echo $text; ?> <?php echo $text; ?>
</div> </div>
</div> </div>
</div> </div>
<br>
<br>
<?php include 'footer.php'; ?> <?php include 'footer.php'; ?>