-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsize-of-web-browser-window.css
94 lines (79 loc) · 2.28 KB
/
size-of-web-browser-window.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
83
84
85
86
87
88
89
90
91
92
93
94
/* What is your Browser Window size? */
/* developed by Tawhidur Rahman Dear, https://www.tawhidurrahmandear.com */
/* Live Preview available at https://www.devilhunter.net/p/size-of-web-browser-window.html */
/* Styles */
body {
font-family: Tahoma, "Trebuchet MS", sans-serif;
color: #000000;
}
/* What is your Browser Window size? Styles */
/* Input & Select Styles */
.size-of-web-browser-window_input, .size-of-web-browser-window_select {
font-family: Tahoma, "Trebuchet MS", sans-serif;
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #6600FF;
border-radius: 5px;
font-size: 14px;
background-color: #ffffff;
}
.size-of-web-browser-window_input:focus, .size-of-web-browser-window_select:focus {
border-color: #6600FF;
outline: none;
}
/* Button Styles */
.size-of-web-browser-window_button {
padding: 15px 20px;
background-color: #6600FF;
color: #ffffff;
font-size: 15px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.5s ease;
}
.size-of-web-browser-window_button:hover {
background-color: #e0ccff;
color: #000000;
transition: background-color 0.5s ease;
}
/* Textarea Styles */
.size-of-web-browser-window_textarea {
font-family: "Roboto Mono", "Source Code Pro", Consolas, Monaco, "Courier New", Courier, "Liberation Mono", monospace;
font-size: 14px;
width: 100%;
height: 400px;
padding: 25px;
margin-top: 20px;
border: 1px solid #6600FF;
border-radius: 5px;
font-size: 14px;
background-color: #EEF3FA;
resize: none;
box-sizing: border-box;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
white-space: pre-wrap;
word-wrap: break-word;
overflow-x: hidden;
}
/* Link Styles */
#size-of-web-browser-window p a {
font-family: Tahoma, "Trebuchet MS", sans-serif;
font-size: 10pt;
font-weight: 700;
color: #0078d7;
text-decoration: none;
}
#size-of-web-browser-window p a:hover {
text-decoration: none;
}
/* Responsive Styles */
@media (max-width: 768px) {
#size-of-web-browser-window {
padding: 25px;
}
.size-of-web-browser-window_input, .size-of-web-browser-window_select, .size-of-web-browser-window_button, .size-of-web-browser-window_textarea {
font-size: 12px;
}
}