xref: /aosp_15_r20/external/aws-sdk-java-v2/javadoc-resources/aws-sdk-java-v2-javadoc.css (revision 8a52c7834d808308836a99fc2a6e0ed8db339086)
1/*
2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 *  http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15
16/*
17Accessibility: This css file modify the basic javadoc css to
18conform to accessibility audit issues.
19 */
20
21/* make links have more contrast and not rely only on color */
22a:link {
23    font-weight: bold;
24}
25
26a[href]:hover, a[href]:focus {
27    color: #a85e1e;
28}
29
30.top-nav a[href]:hover, a[href]:focus {
31    color: white;
32    text-decoration: underline;
33}
34
35/* ensure no horizontal scrolling is needed with small horizontal width */
36@media (max-width: 800px) {
37    pre, code {
38        word-break: break-all;
39        word-wrap: break-word;
40        white-space: break-spaces;
41    }
42
43    .parameters {
44        white-space: break-spaces !important;
45    }
46
47    .sub-title {
48        word-break: break-all;
49    }
50
51    .member-signature {
52        word-break: break-all;
53    }
54
55    .block {
56        word-wrap: break-word;
57    }
58
59    .exceptions {
60        white-space: break-spaces !important;
61    }
62
63    .type-signature {
64        word-wrap: break-word;
65    }
66
67    .inherited-list {
68        word-wrap: break-word;
69    }
70
71    .details {
72        word-wrap: break-word;
73    }
74}
75
76/* fixes footer weird behavior */
77footer {
78    margin-left: 2vw;
79}
80