diff options
Diffstat (limited to 'lib/lvgl/docs/_static/css/custom.css')
| m--------- | lib/lvgl | 0 | ||||
| -rw-r--r-- | lib/lvgl/docs/_static/css/custom.css | 133 |
2 files changed, 133 insertions, 0 deletions
diff --git a/lib/lvgl b/lib/lvgl deleted file mode 160000 -Subproject 0732400e7b564dd0e7dc4a924619d8e19c5b23a diff --git a/lib/lvgl/docs/_static/css/custom.css b/lib/lvgl/docs/_static/css/custom.css new file mode 100644 index 00000000..93a95be1 --- /dev/null +++ b/lib/lvgl/docs/_static/css/custom.css @@ -0,0 +1,133 @@ +table, th, td { + border: 1px solid #bbb; + padding: 10px; +} + +td { + text-align:center; +} +span.pre +{ + padding-right:8px; +} + +span.pre:first-child +{ + padding-right:0px; +} + + +code.sig-name +{ + /*margin-left:8px;*/ +} + +.toggle .header { + display: block; + clear: both; + cursor: pointer; + font-weight: bold; +} + +.toggle .header:before { + font-family: FontAwesome, "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif; + content: "\f0da \00a0 Show "; + display: inline-block; + font-size: 1.1em; +} + +.toggle .header.open:before { + content: "\f0d7 \00a0 Hide "; +} + +.header p { + display: inline-block; + font-size: 1.1em; + margin-bottom: 8px; +} + +.wy-side-nav-search { + background-color: #f5f5f5; +} +.wy-side-nav-search>div.version { + color: #333; + display: none; /*replaced by dropdown*/ +} + + +.home-img { + width:32%; + transition: transform .3s ease-out; +} + +.home-img:hover { + transform: translate(0, -10px); +} + +/*Let `code` wrap*/ +.rst-content code, .rst-content tt, code { + white-space: normal; +} + +.lv-example, .lv-example > iframe { + border: none; + outline: none; + padding: none; + display: block; + width: 320px; + height: 240px; + flex: none; + position: relative; +} + +.lv-example > iframe { + position: absolute; + top: 0; + left: 0; +} + +.lv-example-container { + display: flex; + padding-bottom: 16px; +} +.lv-example-description { + flex: 1 1 auto; + margin-left: 1rem; +} + +.lv-example-link-button { + display: inline-block; + padding: 4px 8px; + border-radius: 4px; + background-color: #2980b9; + color: white; + margin: 0 4px; +} +.lv-example-link-button:hover { + color: white; + filter: brightness(120%); +} + +.lv-example-link-button:visited { + color: white; +} + +dl.cpp.unexpanded dd { + display: none; +} + +.lv-api-expansion-button { + padding: 4px; +} +.lv-api-expansion-button::before { + font-family: FontAwesome, "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif; + display: inline-block; + font-size: 1.1em; + cursor: pointer; +} +.unexpanded .lv-api-expansion-button::before { + content: "\f0da \00a0"; +} +.expanded .lv-api-expansion-button::before { + content: "\f0d7 \00a0"; +}
\ No newline at end of file |
