1-
21@use ' @ni/nimble-react/styles/tokens' as * ;
32
4-
53body {
64 background-color : #f5f5f5 ;
75 overflow-y : auto ;
8- margin : 0 ;
6+ margin : 0 ;
97 font : $ni-nimble-body-font ;
108}
119
12- .header {
10+ .header {
1311 background-color : #e6e6e6 ;
1412 box-sizing : border-box ;
1513 display : grid ;
1614 grid-template-columns : repeat (auto-fit , minmax (180px , 1fr ));
1715 gap : 2% ;
1816 width : 100% ;
1917 min-height : 120px ;
20- padding-left : 1% ;
21- padding-right : 1% ;
18+ padding : 0 1% ;
2219}
2320
2421.header a {
2522 color : inherit ;
2623 text-decoration : none ;
27- }
28-
29-
30- .header a {
3124 background-color : #e6e6e6 ;
32- margin-top : 4% ;
33- margin-bottom : 5% ;
25+ margin : 4% 0 5% 0 ;
3426 display : flex ;
3527 flex-direction : column ;
36- padding-top : 3% ;
37- padding-left : 3% ;
38- padding-right : 3% ;
39- padding-bottom : 3% ;
28+ padding : 3% ;
4029}
4130
42- .header a :hover {
31+ .header a :hover {
4332 background-color : white ;
4433 box-shadow : 0 2px 6px rgba (0 , 0 , 0 , 0.12 );
4534 border : 1px solid #26a97c ;
@@ -51,124 +40,7 @@ body {
5140 text-align : center ;
5241}
5342
54- .head_text {
55- padding-left : 5% ;
56- padding-right : 5% ;
43+ .head_text {
44+ padding : 0 5% ;
5745 font-size : 16px ;
58- }
59-
60-
61- .page {
62- min-height : 100vh ;
63- display : flex ;
64- flex-direction : column ;
65- }
66-
67- .content {
68- flex : 1 ;
69- }
70-
71- .main_description {
72- display : flex ;
73- flex-direction : row ;
74- justify-content : center ;
75- align-items : flex-start ;
76- }
77-
78- .button_and_title {
79- display : flex ;
80- flex-direction : row ;
81- align-items : center ;
82- gap : 16px ;
83- flex-direction : row ;
84- margin-bottom : 0.25% ;
85- }
86- .button {
87- margin-top : 0.5% ;
88- margin-left : 0.5% ;
89- }
90-
91- .API_title {
92- align-self : center ;
93- margin-top : 12px ;
94- margin-left : 41% !important ;
95- font-family : " Source Sans 3" , Arial , sans-serif ;
96- color : #333 ;
97- margin-bottom : 0 ;
98- }
99-
100-
101-
102- .API_method_and_path {
103- display : flex ;
104- color : #044123 ;
105- align-items : flex-start ;
106- gap : 8px ;
107- margin-left : 1% ;
108- }
109-
110- .API_description {
111- color : #044123 ;
112- padding : 1% ;
113- }
114-
115- .method {
116- background-color : #009b65 ;
117- color : #f5f5f5 ;
118- padding : 4px 10px ;
119- display : inline-block ;
120- align-items : center ;
121- line-height : 1 ;
122- margin-top : 1% ;
123- border-radius :10px ;
124- font-size : 18px ;
125- }
126-
127- .path {
128- display : inline-flex ;
129- align-items : center ;
130- line-height : 1 ;
131- margin : 0 ;
132- font-size : 1rem ;
133- font-weight : bold ;
134- margin-top : 1.2% ;
135- font-size : 18px ;
136- }
137-
138-
139-
140- .API {
141- background-color : #e6e6e6 ;
142- display : flex ;
143- align-items : stretch ;
144- flex-direction : column ;
145- max-width : 60% ;
146- min-width : 60% ;
147- height : auto ;
148- padding : 0 ;
149- margin-left : 0 ;
150- margin-top : 0% ;
151- font-size : 18px ;
152- }
153-
154- .API_response {
155- background-color : #ffffff ;
156- padding : 15px ;
157- margin-top : 10px ;
158- font-family : ' Courier New' , monospace ;
159- font-size : 0.9rem ;
160- line-height : 1.5 ;
161- overflow-x : auto ;
162- max-height : 300px ;
163- overflow-y : auto ;
164- white-space : pre-wrap ;
165- word-break : break-word ;
166- border : 1px solid #e0e0e0 ;
167- box-shadow : inset 0 1px 3px rgba (0 , 0 , 0 , 0.1 );
168- }
169-
170- .API_description_title {
171- font-weight : bold ;
172- color : #044123 ;
173- padding : 1% ;
17446}
0 commit comments