-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmobile.css
82 lines (72 loc) · 1.53 KB
/
mobile.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/* mobile.css */
/* Ensure the body takes up the full viewport height */
html, body {
height: 100%;
margin: 0;
font-family: Arial, sans-serif;
background-color: #f4f4f4;
}
/* Container padding and layout adjustments */
.container {
padding: 10px;
box-sizing: border-box;
}
/* Header styling */
header {
background: #333;
color: #fff;
padding: 10px;
text-align: center;
}
header h1 {
font-size: 1.5em;
margin: 0; /* Remove default margin */
}
/* Main section styling */
main {
margin: 10px 0;
}
/* Textarea styling for mobile */
textarea {
width: 100%; /* Full width */
height: 60px; /* Reduced height */
box-sizing: border-box;
padding: 8px;
font-size: 0.9em; /* Slightly smaller text */
margin-bottom: 10px; /* Space between textareas */
}
/* Button styling */
button {
width: 100%;
padding: 10px;
margin: 5px 0;
background: #007bff;
color: #fff;
border: none;
cursor: pointer;
font-size: 1em; /* Slightly smaller text */
border-radius: 5px; /* Rounded corners */
}
button:hover {
background: #0056b3;
}
/* Footer styling */
footer {
text-align: center;
padding: 10px;
background: #333;
color: #fff;
}
/* Notification styling */
.notification {
display: none;
background: #28a745;
color: #fff;
padding: 10px;
position: fixed;
bottom: 10px;
right: 10px;
border-radius: 5px;
font-size: 0.9em; /* Slightly smaller text */
z-index: 1000; /* Ensure it appears above other content */
}