|
5 | 5 | width: 100%;
|
6 | 6 | }
|
7 | 7 |
|
8 |
| -.featureSvg { |
9 |
| - height: 200px; |
10 |
| - width: 200px; |
11 |
| -} |
12 |
| - |
13 |
| - |
14 |
| - |
15 |
| - |
16 |
| -.grid3col{ |
| 8 | +.grid3col { |
17 | 9 | display: grid;
|
18 |
| - grid-template-columns: repeat(4,minmax(0,1fr)); |
19 |
| - gap:56px; |
| 10 | + grid-template-columns: repeat(4, minmax(0, 1fr)); |
| 11 | + gap: 56px; |
20 | 12 | margin: 0 auto;
|
21 | 13 | padding: 0;
|
22 | 14 | }
|
| 15 | + |
23 | 16 | @media screen and (max-width: 1680px) {
|
24 |
| - .grid3col{ |
25 |
| - display: grid; |
26 |
| - grid-template-columns: repeat(3,minmax(0,1fr)); |
27 |
| - gap:56px; |
28 |
| - margin: 0 auto; |
| 17 | + .grid3col { |
| 18 | + grid-template-columns: repeat(3, minmax(0, 1fr)); |
29 | 19 | }
|
30 | 20 | }
|
| 21 | + |
31 | 22 | @media screen and (max-width: 1180px) {
|
32 |
| - .grid3col{ |
33 |
| - display: grid; |
34 |
| - grid-template-columns: repeat(2,minmax(0,1fr)); |
35 |
| - gap:56px; |
36 |
| - margin: 0 auto; |
| 23 | + .grid3col { |
| 24 | + grid-template-columns: repeat(2, minmax(0, 1fr)); |
37 | 25 | }
|
38 | 26 | }
|
| 27 | + |
39 | 28 | @media screen and (max-width: 768px) {
|
40 |
| - .grid3col{ |
41 |
| - display: grid; |
42 |
| - grid-template-columns: repeat(1,minmax(0,1fr)); |
43 |
| - gap:56px 0px; |
44 |
| - margin: 0 auto; |
| 29 | + .grid3col { |
| 30 | + grid-template-columns: 1fr; |
| 31 | + gap: 32px; |
45 | 32 | }
|
46 | 33 | }
|
47 | 34 |
|
48 |
| - |
49 |
| -.listContainer{ |
50 |
| - min-height: 17rem; |
| 35 | +.listContainer { |
| 36 | + min-height: 20rem; |
51 | 37 | }
|
| 38 | + |
52 | 39 | @media screen and (max-width: 768px) {
|
53 |
| - .listContainer{ |
54 |
| - min-height: 3rem; |
| 40 | + .listContainer { |
| 41 | + min-height: 5rem; |
55 | 42 | padding-bottom: 1rem;
|
56 | 43 | }
|
57 | 44 | }
|
58 |
| -.listContainer li{ |
| 45 | + |
| 46 | +.listContainer li { |
59 | 47 | list-style-type: none;
|
60 | 48 | position: relative;
|
| 49 | + padding: 0.28rem 1rem; |
| 50 | + font-size: 1rem; |
| 51 | + color: #444; |
| 52 | + transition: color 0.2s; |
61 | 53 | }
|
62 | 54 |
|
| 55 | +.listContainer li:hover { |
| 56 | + color: #007bff; |
| 57 | +} |
63 | 58 |
|
64 |
| - |
65 |
| - |
66 |
| - |
67 |
| -.listContainer li:before{ |
68 |
| - --ifm-menu-link-sublist-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16px" height="16px" viewBox="0 0 24 24"><path fill="white" d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"></path></svg>'); |
| 59 | +.listContainer li:before { |
| 60 | + --ifm-menu-link-sublist-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16px" height="16px" viewBox="0 0 24 24"><path fill="%2300bfff" d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"></path></svg>'); |
69 | 61 | background: var(--ifm-menu-link-sublist-icon) 50% / 1.25rem 1.25rem;
|
70 | 62 | transform: rotate(90deg);
|
71 |
| - content: ''; |
72 |
| - position: absolute; |
73 |
| - height: 1.25rem; |
74 |
| - width: 1.25rem; |
75 |
| - left: -1.5rem; |
76 |
| - top: 0.5rem; |
77 |
| - } |
| 63 | + content: ''; |
| 64 | + position: absolute; |
| 65 | + height: 1.25rem; |
| 66 | + width: 1.25rem; |
| 67 | + left: -1.5rem; |
| 68 | + top: 0.5rem; |
| 69 | +} |
78 | 70 |
|
79 |
| -.homecard{ |
| 71 | +.homecard { |
80 | 72 | background-color: #1c1f26;
|
81 |
| - width: 320px; |
82 |
| - padding: 8px; |
| 73 | + width: 330px; |
| 74 | + height: 420px; |
| 75 | + padding: 20px; |
83 | 76 | position: relative;
|
84 | 77 | display: block;
|
85 | 78 | border-radius: 16px;
|
86 |
| - border: 1px solid #a8b3cf33; |
| 79 | + border: 1px solid rgba(255, 255, 255, 0.1); |
| 80 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); |
| 81 | + transition: transform 0.3s, box-shadow 0.3s; |
| 82 | +} |
| 83 | + |
| 84 | +.homecard:hover { |
| 85 | + transform: translateY(-4px); |
| 86 | + box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); |
| 87 | +} |
| 88 | + |
| 89 | +html[data-theme='light'] .homecard { |
| 90 | + background-color: #ffffff; |
| 91 | + border: 1px solid #e0e0e0; |
| 92 | + color: #333; |
87 | 93 | }
|
88 | 94 |
|
89 |
| -html[data-theme='light'] .homecard{ |
90 |
| - background-color: #fff; |
91 |
| - border: 1px solid #a8b3cf; |
92 |
| - color: #000; |
| 95 | +html[data-theme='dark'] .homecard { |
| 96 | + transition: transform 0.3s, box-shadow 0.3s; |
93 | 97 | }
|
94 | 98 |
|
| 99 | +html[data-theme='dark'] .homecard:hover { |
| 100 | + box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2); |
| 101 | +} |
95 | 102 |
|
96 |
| -.homecard h2{ |
97 |
| - margin: 8px 16px; |
98 |
| - min-height: 2.4rem; |
99 |
| - font-size: 1.25rem; |
| 103 | +.homecard h2 { |
| 104 | + margin: 0 0 1rem; |
| 105 | + font-size: 1.5rem; |
100 | 106 | line-height: 1.4;
|
| 107 | + font-weight: 700; |
| 108 | + color: #222; |
101 | 109 | }
|
102 | 110 |
|
103 |
| -html[data-theme='light'] .homecard a{ |
104 |
| - color: #000; |
| 111 | +html[data-theme='dark'] .homecard h2 { |
| 112 | + color: #e0e0e0; |
105 | 113 | }
|
106 |
| -.homecard a{ |
107 |
| - color: white; |
108 |
| - text-decoration: underline; |
109 |
| - line-height: 2rem;; |
| 114 | + |
| 115 | +.homecard a { |
| 116 | + color: #007bff; |
| 117 | + text-decoration: none; |
| 118 | + font-weight: 600; |
110 | 119 | }
|
111 |
| -html[data-theme='light'] .homeIcon{ |
112 |
| - filter: brightness(0.5); |
| 120 | + |
| 121 | +.homecard a:hover { |
| 122 | + text-decoration: underline; |
113 | 123 | }
|
114 |
| -.homeIcon{ |
115 |
| - width: 28px; |
116 |
| - height: 28px; |
117 |
| - border-radius: 0!important; |
| 124 | + |
| 125 | +.homeIcon { |
| 126 | + width: 32px; |
| 127 | + height: 32px; |
| 128 | + border-radius: 0 !important; |
118 | 129 | margin: 12px 0 4px 16px;
|
| 130 | + filter: brightness(0.9); |
| 131 | +} |
| 132 | + |
| 133 | +html[data-theme='light'] .homeIcon { |
| 134 | + filter: brightness(0.3); |
| 135 | +} |
| 136 | + |
| 137 | +html[data-theme='dark'] .homeIcon { |
| 138 | + filter: brightness(1.5); |
119 | 139 | }
|
0 commit comments