11/*
22
3- Minimal Obsidian 2.4.1 by @kepano
3+ Minimal Obsidian 2.4.2 by @kepano
44
55This theme is designed to be used with the Minimal Theme Settings
66plugin and the Hider plugin.
@@ -635,32 +635,32 @@ body, input, button,
635635.markdown-embed-title {
636636 letter-spacing : -0.02em ;
637637 text-align : left;
638- font-size : 18 px ;
638+ font-size : 1.125 em ;
639639 font-weight : var (--bold-weight );
640640}
641641.empty-state-title ,
642642.markdown-preview-view h1 ,
643643.HyperMD-header-1 ,
644644.cm-header-1 {
645645 letter-spacing : -0.02em ;
646- font-size : 18 px !important ;
646+ font-size : 1.125 em ;
647647 line-height : 1.3 ;
648- font-weight : var (--bold-weight ) !important ;
648+ font-weight : var (--bold-weight );
649649}
650650.markdown-preview-view h2 ,
651651.HyperMD-header-2 ,
652652.cm-header-2 {
653653 letter-spacing : -0.02em ;
654- font-size : 16 px !important ;
654+ font-size : 1 em ;
655655 line-height : 1.3 ;
656- font-weight : var (--bold-weight ) !important ;
656+ font-weight : var (--bold-weight );
657657}
658658.markdown-preview-view h3 ,
659659.HyperMD-header-3 ,
660660.cm-header-3 {
661661 letter-spacing : -0em ;
662- font-weight : 500 !important ;
663- font-size : 16 px !important ;
662+ font-weight : 500 ;
663+ font-size : 1 em ;
664664 line-height : 1.4 ;
665665}
666666.markdown-preview-view h4 ,
@@ -670,8 +670,8 @@ body, input, button,
670670 text-transform : lowercase;
671671 letter-spacing : 0.02em ;
672672 color : var (--text-normal );
673- font-weight : var (--normal-weight ) !important ;
674- font-size : 17 px !important ;
673+ font-weight : var (--normal-weight );
674+ font-size : 1.0625 em ;
675675}
676676.markdown-preview-view h5 ,
677677.HyperMD-header-5 ,
@@ -680,8 +680,8 @@ body, input, button,
680680 text-transform : lowercase;
681681 letter-spacing : 0.05em ;
682682 color : var (--text-normal );
683- font-weight : 300 !important ;
684- font-size : 15 px !important ;
683+ font-weight : 300 ;
684+ font-size : 0.9735 em ;
685685}
686686.markdown-preview-view h6 ,
687687.HyperMD-header-6 ,
@@ -690,8 +690,8 @@ body, input, button,
690690 text-transform : lowercase;
691691 letter-spacing : 0.1em ;
692692 color : var (--text-muted );
693- font-weight : 300 !important ;
694- font-size : 14 px !important ;
693+ font-weight : 300 ;
694+ font-size : 0.875 em ;
695695}
696696
697697/* --------------- */
@@ -1317,9 +1317,10 @@ border-bottom:1px solid #999;
13171317}
13181318input .document-search-input ,
13191319input .document-replace-input {
1320+ margin-top : 2px ;
13201321 font-size : var (--font-small ) !important ;
13211322 border : 1px solid var (--background-modifier-border );
1322- border-radius : 14 px ;
1323+ border-radius : 5 px ;
13231324 background : var (--background-primary );
13241325 transition : border-color 0.1s ease-in-out;
13251326}
@@ -1374,6 +1375,20 @@ input.document-replace-input:focus {
13741375/* --------------- */
13751376/* Form inputs */
13761377
1378+ select : focus,
1379+ input[type='text']: active,
1380+ input[type='search']: active,
1381+ input[type='email']: active,
1382+ input[type='password']: active,
1383+ input[type='number']: active,
1384+ input[type='text']: focus,
1385+ input[type='search']: focus,
1386+ input[type='email']: focus,
1387+ input[type='password']: focus,
1388+ input[type='number']: focus {
1389+ bor der-color:var(--background-modifier-border-focus );
1390+ }
1391+
13771392butto n,
13781393.modal .mod-settings button : not (.mod-cta ) {
13791394 background-color : var (--background-modifier-border );
@@ -1821,7 +1836,7 @@ input.search-input:focus {
18211836 font-size : var (--font-small );
18221837 padding : 7px 10px ;
18231838 height : 28px ;
1824- border-radius : 20 px ;
1839+ border-radius : 5 px ;
18251840 background : var (--background-primary );
18261841 border : 1px solid var (--background-modifier-border );
18271842 transition : border-color 0.1s ease-in-out;
0 commit comments