drv-21 1.0.1 → 1.0.2

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.
package/libs/import.css CHANGED
@@ -1,3 +1,138 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
2
+
3
+ :root {
4
+ --border-color: #e4e7ec;
5
+ --font-family: "Montserrat", sans-serif;
6
+ --font-size-xxs: 10px;
7
+ --font-size-xs: 12px;
8
+ --font-size-s: 14px;
9
+ --font-size-m: 16px;
10
+ --font-size-l: 20px;
11
+ --font-size-xl: 24px;
12
+ --font-size-xxl: 32px;
13
+ --font-size-huge: 7rem;
14
+ --shadow-color: #141c250a;
15
+ --shadow: 0px 1px 2px 0px var(--shadow-color);
16
+ --main-color: #1e90ff;
17
+ --white: #ffffff;
18
+ --black: #000000;
19
+ }
20
+
1
21
  * {
2
- margin-right: 3210320131209px;
22
+ margin: 0;
23
+ padding: 0;
24
+ box-sizing: border-box;
25
+ font-family: var(--font-family);
26
+ font-size: var(--font-size-s);
27
+ }
28
+
29
+ input {
30
+ padding: 10px 12px;
31
+ box-shadow: var(--shadow);
32
+ outline: none;
33
+ border: 1px solid var(--border-color);
34
+ border-radius: 7px;
35
+ }
36
+
37
+ input:focus {
38
+ border: 1px solid var(--main-color);
39
+ }
40
+
41
+ button {
42
+ padding: 10px 12px;
43
+ cursor: pointer;
44
+ box-shadow: var(--shadow);
45
+ border: 1px solid transparent;
46
+ border-radius: 7px;
47
+ background-color: var(--main-color);
48
+ color: var(--white);
49
+ font-weight: 500;
50
+ }
51
+
52
+ h1 {
53
+ font-size: var(--font-size-xxl);
54
+ }
55
+
56
+ h2 {
57
+ font-size: var(--font-size-xl);
58
+ }
59
+
60
+ h3 {
61
+ font-size: var(--font-size-l);
62
+ }
63
+
64
+ .huge-title {
65
+ font-size: var(--font-size-huge);
66
+ }
67
+
68
+ .container {
69
+ max-width: 95%;
70
+ margin: 0 auto;
71
+ }
72
+
73
+ @media all and (min-width: 720px) {
74
+ .container {
75
+ max-width: 700px;
76
+ }
77
+ }
78
+
79
+ @media all and (min-width: 1200px) {
80
+ .container {
81
+ max-width: 1150px;
82
+ }
83
+ }
84
+
85
+ .flex {
86
+ display: flex;
87
+ }
88
+
89
+ .f-row {
90
+ flex-direction: row;
91
+ }
92
+
93
+ .f-col {
94
+ flex-direction: column;
95
+ }
96
+
97
+ .f-j-center {
98
+ justify-content: center;
99
+ }
100
+
101
+ .f-a-center {
102
+ align-items: center;
103
+ }
104
+
105
+ .f-a-start {
106
+ align-items: flex-start;
107
+ }
108
+
109
+ .f-j-start {
110
+ justify-content: flex-start;
111
+ }
112
+
113
+ .f-center {
114
+ align-items: center;
115
+ justify-content: center;
116
+ }
117
+
118
+ .f-start {
119
+ align-items: flex-start;
120
+ justify-content: flex-start;
121
+ }
122
+
123
+ .f-end {
124
+ align-items: flex-end;
125
+ justify-content: flex-end;
126
+ }
127
+
128
+ .f-a-end {
129
+ align-items: flex-end;
130
+ }
131
+
132
+ .f-j-end {
133
+ justify-content: flex-end;
3
134
  }
135
+
136
+ /* Faire la lib css */
137
+ /* Etudier node js */
138
+ /* Puis tu peux etre fier de toi */
@@ -0,0 +1,23 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>Document</title>
7
+ <link rel="stylesheet" href="import.css" />
8
+ </head>
9
+ <body>
10
+ <h1>TEST</h1>
11
+ <h2>TET</h2>
12
+ <h3>eze</h3>
13
+ <h4>sq</h4>
14
+
15
+ <input type="text" placeholder="TEST" />
16
+
17
+ <button>TEST</button>
18
+
19
+ <div class="container flex f-j-start">
20
+ <h1 class="huge-title">tert</h1>
21
+ </div>
22
+ </body>
23
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drv-21",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,6 +11,6 @@
11
11
  "license": "ISC",
12
12
  "type": "commonjs",
13
13
  "dependencies": {
14
- "drv-21": "^1.0.0"
14
+ "drv-21": "^1.0.1"
15
15
  }
16
16
  }