Last change
on this file since 37462 was 37462, checked in by davidb, 13 months ago |
Better merging of winbox.js styled page with DIY drag-with-intertia.html
|
File size:
2.1 KB
|
Line | |
---|
1 | * {
|
---|
2 | box-sizing: border-box;
|
---|
3 | touch-action: manipulation;
|
---|
4 | }
|
---|
5 |
|
---|
6 | html, body {
|
---|
7 | margin: 0;
|
---|
8 | padding: 0;
|
---|
9 | border: 0;
|
---|
10 | /*background: linear-gradient(135deg, #0d1117, #131820); */
|
---|
11 | }
|
---|
12 |
|
---|
13 | body {
|
---|
14 | position: fixed;
|
---|
15 | top: 0;
|
---|
16 | right: 0;
|
---|
17 | bottom: 0;
|
---|
18 | left: 0;
|
---|
19 | font-family: Helvetica, Arial, "Open Sans", OpenSans, sans-serif;
|
---|
20 | text-align: center;
|
---|
21 | color: #fff;
|
---|
22 |
|
---|
23 | -webkit-tap-highlight-color: transparent;
|
---|
24 | -webkit-text-size-adjust: 100%;
|
---|
25 | -webkit-touch-callout: none;
|
---|
26 | /*
|
---|
27 | -webkit-user-select: none;
|
---|
28 | -khtml-user-select: none;
|
---|
29 | -moz-user-select: none;
|
---|
30 | -ms-user-select: none;
|
---|
31 | user-select: none;
|
---|
32 | */
|
---|
33 |
|
---|
34 | overflow: hidden;
|
---|
35 | }
|
---|
36 | main{
|
---|
37 | position: fixed;
|
---|
38 | top: 0;
|
---|
39 | right: 0;
|
---|
40 | bottom: 0;
|
---|
41 | left: 0;
|
---|
42 | overflow-x: hidden;
|
---|
43 | overflow-y: hidden;
|
---|
44 | -webkit-overflow-scrolling: touch;
|
---|
45 | overflow-scrolling: touch;
|
---|
46 | /*content-visibility: auto;*/
|
---|
47 | }
|
---|
48 | header{
|
---|
49 | position: sticky;
|
---|
50 | top: 0;
|
---|
51 | width: 100%;
|
---|
52 | height: 50px;
|
---|
53 | /* background: linear-gradient(to right, rgba(13, 17, 22, 0.94), rgba(17, 21, 28, 0.94)); */
|
---|
54 | background: linear-gradient(to right, rgba(13, 17, 22, 0.64), rgba(17, 21, 28, 0.64));
|
---|
55 | padding: 15px 0;
|
---|
56 | border-bottom: 1px solid #181f2a;
|
---|
57 | z-index: 2;
|
---|
58 | }
|
---|
59 | .wrapper{
|
---|
60 | position: relative;
|
---|
61 | display: block;
|
---|
62 | /* margin: auto; */
|
---|
63 | /*max-width: 600px; */
|
---|
64 | text-align: left;
|
---|
65 | padding: 1.2em;
|
---|
66 | padding-top: 40px;
|
---|
67 | z-index: 1;
|
---|
68 | }
|
---|
69 | a{
|
---|
70 | display: inline-block;
|
---|
71 | color: #3374ff;
|
---|
72 | text-decoration: none;
|
---|
73 | font-weight: 600;
|
---|
74 | }
|
---|
75 | b{
|
---|
76 | display: block;
|
---|
77 | padding: 10px;
|
---|
78 | }
|
---|
79 | button{
|
---|
80 | padding: 5px 10px;
|
---|
81 | margin-bottom: 5px;
|
---|
82 | }
|
---|
83 | h1{
|
---|
84 | margin: 0;
|
---|
85 | padding: 0;
|
---|
86 | }
|
---|
87 | h1 img{
|
---|
88 | width: 100%;
|
---|
89 | height: auto;
|
---|
90 | }
|
---|
91 | h2{
|
---|
92 | font-size: 20px;
|
---|
93 | font-weight: 400;
|
---|
94 | line-height: 27px;
|
---|
95 | }
|
---|
96 | h3{
|
---|
97 | font-size: 24px;
|
---|
98 | font-weight: 600;
|
---|
99 | line-height: 32px;
|
---|
100 | margin:0;
|
---|
101 | }
|
---|
102 | hr{
|
---|
103 | border: 0;
|
---|
104 | border-bottom: 1px solid #1c2431;
|
---|
105 | margin-bottom: 20px;
|
---|
106 | padding-top: 20px;
|
---|
107 | }
|
---|
108 | .button {
|
---|
109 | display: inline-block;
|
---|
110 | background-color: #0050ff;
|
---|
111 | color: #fff;
|
---|
112 | width: auto;
|
---|
113 | border-radius: 10px;
|
---|
114 | padding: 15px 25px;
|
---|
115 | cursor: pointer;
|
---|
116 | }
|
---|
117 |
|
---|
118 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.