perfect-gui 4.0.1 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,186 +0,0 @@
1
- @import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,600&display=swap');
2
-
3
- :root {
4
- --black: rgb(17, 17, 17);
5
- --white: rgb(246, 246, 232);
6
- --grey: #ffffff33;
7
- --green: #06ff89;
8
- --sans: 'General Sans', serif;
9
- --h1-size: 2.6rem;
10
- --h2-size: 2.2rem;
11
- --body-size: 1.5rem;
12
- }
13
-
14
- * {
15
- -webkit-font-smoothing: antialiased;
16
- -moz-osx-font-smoothing: grayscale;
17
- font-size: 1.5rem;
18
- }
19
-
20
- html, body {
21
- height: 100%;
22
- overscroll-behavior: none;
23
- }
24
-
25
- html {
26
- font-size: 10px;
27
- }
28
-
29
- body {
30
- margin: 0;
31
- background-color: var(--black);
32
- color: var(--white);
33
- font-family: Arial, sans-serif;
34
- }
35
-
36
- .wrapper {
37
- display: flex;
38
- flex-direction: row;
39
- }
40
-
41
- .main {
42
- width: 800px;
43
- margin: 0 auto;
44
- padding-left: 200px;
45
- padding-bottom: 100px;
46
- }
47
-
48
- @media (max-width: 1024px) {
49
- .main {
50
- width: 700px;
51
- padding: 0 20px 100px 230px;
52
- }
53
- }
54
-
55
- .title {
56
- display: flex;
57
- flex-direction: row;
58
- margin: 80px 0 0;
59
- }
60
-
61
- .subtitle {
62
- opacity: .6;
63
- }
64
-
65
- .subtitle,
66
- .subtitle span {
67
- font-size: 1.2rem;
68
- }
69
-
70
- .link {
71
- padding: 10px;
72
- border-bottom: 1px solid var(--green);
73
- margin-left: 20px;
74
- font-size: var(--body-size);
75
- }
76
-
77
- h1, h2 {
78
- font-family: var(--sans), sans-serif;
79
- font-weight: 600;
80
- }
81
-
82
- h1 {
83
- margin: 0;
84
- margin-right: auto;
85
- font-size: var(--h1-size);
86
- }
87
-
88
- h2 {
89
- margin-top: 110px;
90
- font-size: var(--h2-size);
91
- }
92
-
93
- p, li {
94
- line-height: 1.5;
95
- font-size: var(--body-size);
96
- }
97
-
98
- a {
99
- color: var(--white);
100
- text-decoration: none;
101
- }
102
-
103
- .code-button {
104
- cursor: pointer;
105
- margin-bottom: 10px;
106
- font-size: var(--body-size);
107
- display: inline-block;
108
- padding: 0 0px 3px 0;
109
- border-bottom: 1px solid var(--white);
110
- }
111
-
112
- .code-block--hidden {
113
- display: none;
114
- }
115
-
116
- .code-inline {
117
- font-family: monospace;
118
- background-color: #333333;
119
- color: #a6e22e;
120
- padding: 1px 6px;
121
- border-radius: 3px;
122
- }
123
-
124
- div:has(pre) {
125
- border-radius: 5px;
126
- }
127
-
128
- pre[class*=language-] {
129
- padding: 30px;
130
- border-radius: 5px;
131
- font-size: 1.5rem;
132
- }
133
-
134
- .container {
135
- background-color: #1b1b1b;
136
- transition: .3s all ease;
137
- background-position: center;
138
- background-size: cover;
139
- overflow: hidden;
140
- position: relative;
141
- height: 400px;
142
- width: 100%;
143
- margin: 20px auto 20px auto;
144
- border-radius: 5px;
145
- }
146
-
147
- .container--small {
148
- height: 200px;
149
- }
150
-
151
- .element {
152
- width: 100px;
153
- height: 100px;
154
- position: absolute;
155
- top: 0;
156
- left: 0;
157
- right: 0;
158
- bottom: 0;
159
- margin: auto;
160
- background-color: var(--green);
161
- background-size: cover;
162
- background-position: center;
163
- background-repeat: no-repeat;
164
- transition: .1s transform ease, .3s border-radius ease;
165
- border-radius: 3px;
166
- }
167
-
168
- .element.left {
169
- left: calc((50% - 145px) - 50px);
170
- right: 0px;
171
- margin: auto 0px;
172
- }
173
-
174
- .element.round {
175
- border-radius: 50%;
176
- }
177
-
178
- .note {
179
- position: absolute;
180
- bottom: 10px;
181
- left: 20px;
182
- font-family: arial;
183
- color: var(--black);
184
- font-size: 1rem;
185
- }
186
-
@@ -1,47 +0,0 @@
1
- /* eslint-disable */
2
- const webpack = require('webpack');
3
- const path = require('path');
4
- const HtmlWebpackPlugin = require('html-webpack-plugin');
5
- const MiniCssExtractPlugin = require("mini-css-extract-plugin");
6
-
7
- let config = {
8
- mode: 'development',
9
- entry: './src/index.js',
10
- output: {
11
- path: path.resolve(__dirname, './build'),
12
- filename: './bundle.js'
13
- },
14
- module: {
15
- rules: [
16
- {
17
- test: /\.(jpe?g|gif|svg|png|mp3|mp4|woff|woff2|eot|ttf|otf|obj|json)$/,
18
- type: 'asset/resource'
19
- },
20
- {
21
- test: /\.s?css$/,
22
- use: [
23
- MiniCssExtractPlugin.loader,
24
- "css-loader",
25
- ]
26
- },
27
- ]
28
- },
29
- devServer: {
30
- port: 8000
31
- },
32
- plugins: [
33
- new HtmlWebpackPlugin({
34
- hash: true,
35
- minify: false,
36
- filename: './index.html',
37
- template: './src/index.html'
38
- }),
39
- new MiniCssExtractPlugin({
40
- filename: "[name].css",
41
- chunkFilename: "[id].css"
42
- })
43
- ],
44
-
45
- };
46
-
47
- module.exports = config;