Change the font size of sidebar checkboxes, selectboxes, etc

Currently I’m using streamlit with a sidebar. See here: https://share.streamlit.io/chainleft/nft.observer/main/nft_history.py

My styling code includes:

hide_streamlit_style = """
<style>
#MainMenu {visibility: hidden;}
footer {visibility: hidden;}
.sidebar-text {
    font-size:4px;
}
</style>

"""
st.markdown(hide_streamlit_style, unsafe_allow_html=True)

I’d like to make the fonts on the checkboxes and selectboxes on the sidebar smaller. Adding the sidebar-text didn’t help. Using the ‘sidebar-text’ as the styling within the st.sidebar.checkbox didn’t work either.

Anyone knows how this can be done?