Change the font size of sidebar checkboxes, selectboxes, etc

Currently I’m using streamlit with a sidebar. See here:

My styling code includes:

hide_streamlit_style = """
#MainMenu {visibility: hidden;}
footer {visibility: hidden;}
.sidebar-text {

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?