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