Debian Codegraph @

docs/index.md

raw
1 ---
2 sd_hide_title: true
3 ---
4
5 # sphinx-design
6
7 ::::::{div} landing-title
8 :style: "padding: 0.1rem 0.5rem 0.6rem 0; background-image: linear-gradient(315deg, #438ff9 0%, #1572f4 74%); clip-path: polygon(0px 0px, 100% 0%, 100% 100%, 0% calc(100% - 1.5rem)); -webkit-clip-path: polygon(0px 0px, 100% 0%, 100% 100%, 0% calc(100% - 1.5rem));"
9
10 ::::{grid}
11 :reverse:
12 :gutter: 2 3 3 3
13 :margin: 4 4 1 2
14
15 :::{grid-item}
16 :columns: 12 4 4 4
17
18 ```{image} ./_static/logo_square.svg
19 :width: 200px
20 :class: sd-m-auto sd-animate-grow50-rot20
21 ```
22 :::
23
24 :::{grid-item}
25 :columns: 12 8 8 8
26 :child-align: justify
27 :class: sd-text-white sd-fs-3
28
29 A sphinx extension for designing beautiful, screen-size responsive web-components.
30
31 ```{button-ref} get_started
32 :ref-type: doc
33 :outline:
34 :color: white
35 :class: sd-px-4 sd-fs-5
36
37 Get Started
38 ```
39
40 :::
41 ::::
42
43 ::::::
44
45 Conflict free CSS
46 : All CSS classes are prefixed, to avoid conflicts with other frameworks.
47
48 Works without JavaScript
49 : JavaScript is not required for any "essential" functionality.
50
51 Configurable
52 : All colors can be configured using CSS variables.
53
54 Supports non-HTML output formats
55 : Components degrade gracefully for non-HTML formats.
56
57 ```{toctree}
58 :hidden:
59
60 get_started
61 ```
62
63 ```{toctree}
64 :caption: Components
65 :hidden:
66
67 grids
68 cards
69 dropdowns
70 tabs
71 badges_buttons
72 additional
73 ```
74
75 ```{toctree}
76 :caption: Styling
77 :hidden:
78
79 css_variables
80 css_classes
81 ```
82
83 ```{toctree}
84 :caption: Themes
85 :hidden:
86
87 alabaster <https://sphinx-design.readthedocs.io/en/alabaster-theme>
88 sphinx-book-theme <https://sphinx-design.readthedocs.io/en/sbt-theme>
89 pydata-sphinx-theme <https://sphinx-design.readthedocs.io/en/pydata-theme>
90 sphinx-rtd-theme <https://sphinx-design.readthedocs.io/en/rtd-theme>
91 furo <https://sphinx-design.readthedocs.io/en/furo-theme>
92 ```
93
94
95 ```{toctree}
96 :caption: Development
97 :hidden:
98
99 changelog
100 ```
101
102 ::::{grid} 1 2 2 3
103 :margin: 4 4 0 0
104 :gutter: 1
105
106 :::{grid-item-card} {octicon}`table` Grids
107 :link: grids
108 :link-type: doc
109
110 Screen size adaptable grid layouts.
111 :::
112
113 :::{grid-item-card} {octicon}`note` Cards
114 :link: cards
115 :link-type: doc
116
117 Flexible and extensible content containers.
118 :::
119
120 :::{grid-item-card} {octicon}`chevron-down` Dropdowns
121 :link: dropdowns
122 :link-type: doc
123
124 Hide content in expandable containers.
125 :::
126
127 :::{grid-item-card} {octicon}`duplicate` Tabs
128 :link: tabs
129 :link-type: doc
130
131 Synchronisable, tabbed content sets.
132 :::
133
134 :::{grid-item-card} {octicon}`plus-circle` Badges, Buttons & Icons
135 :link: badges_buttons
136 :link-type: doc
137
138 Roles and directives for {bdg-primary}`badges` and other components.
139 :::
140
141 :::{grid-item-card} {octicon}`image` CSS Styling
142 :link: css_variables
143 :link-type: doc
144
145 Change the default colors and other CSS.
146 :::
147
148 ::::
149
150 -----------
151
152 Created with inspiration from [Bootstrap](https://getbootstrap.com/) (v5), [Material Design](https://material.io) and [Material-UI](https://material-ui.com/) design frameworks.