Add custom style for table and links

This commit is contained in:
Tilen Majerle 2019-12-08 09:50:16 +01:00
parent 901e774ea3
commit ffb64b1234
2 changed files with 32 additions and 2 deletions

View File

@ -3,9 +3,10 @@ LwMEM documentation!
LwMEM is lightweight dynamic memory manager optimized for embedded systems.
.. class::center
.. rst-class:: center
.. rst-class:: index_links
:ref:`download_library` · `Github <https://github.com/MaJerle/lwmem>`_
:ref:`download_library` · `Github <https://github.com/MaJerle/lwmem>`_
Features
^^^^^^^^

View File

@ -1,3 +1,32 @@
/* Center aligned text */
.center {
text-align: center;
}
/* Paragraph with main links on index page */
.index_links {
text-align: center;
}
/* Index links a */
.index-links a {
display: inline-block;
border: 1px solid #0E4263;
padding: 3px 10px;
background: #2980B9;
border-radius: 4px;
color: #FFFFFF;
}
.index-links a:hover {
background: #0E4263;
}
/* Table header p w/0 margin */
table thead th {
vertical-align: middle;
}
table thead th p {
margin: 0;
}