Jump to content

MediaWiki:Common.css

From Grantha
Revision as of 06:31, 2 March 2026 by Chandrashekars (talk | contribs) (Created page with "CSS placed here will be applied to all skins: @font-face { font-family: 'SanskritFont'; src: url('/fonts/Sanskrit-2003.ttf') format('truetype'); } *{ box-sizing: border-box !important; } body { font-family: 'SanskritFont', serif; font-size: 20px; line-height: 1.6; color: #555; background-color: #fff; font-weight:400; } main .template{ padding: 2rem 5rem; max-width:90% } main .chapter-title{ font-size: 32px; margin-bottom: 10px...")

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
@font-face {
  font-family: 'SanskritFont';
  src: url('/fonts/Sanskrit-2003.ttf') format('truetype');
}

*{
    box-sizing: border-box !important;
}

body {
  font-family: 'SanskritFont', serif;
  font-size: 20px;
  line-height: 1.6;
  color: #555;
  background-color: #fff;
  font-weight:400;
}

main .template{
    padding: 2rem 5rem;
    max-width:90%
}

main .chapter-title{
    font-size: 32px;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    color:#333;
    font-weight: 500;
}

main .adhyaya-heading, main .paada-heading{
    padding-top: 20px;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 48px;
    color: #f57c00;
    width: 75%;
    font-weight: 500;
     border-bottom: 2px dotted #f57c00;
}

main .adhikarana-heading{
    padding-top: 30px;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 32px;
    color: #e65100;
    width: 50%;
    border-bottom: 1px dotted #e65100;
    font-weight: 500;
}

main .introduction {
    margin-left: 60px;
    margin-top: 25px;
    padding: 10px 15px;
}

main .introduction  p {
  font-size: 20px;
  line-height: 1.6;
  color: #555;
  font-weight:400;
}

/*  Brahmasutra - Bhashya  */

main .sutra  .bhashya-content {
   font-size: 20px;
  line-height: 1.6;
  color: #555;
   margin-left: 60px;
   margin-bottom: 10px;
   margin-top: 0 !important;
}

/* Brahmasutra -  Anuvyakhyana  */

main .sutra  .bhashya-content {
   font-size: 20px;
  line-height: 1.6;
  color: #555;
   margin-left: 60px;
   margin-bottom: 10px;
   margin-top: 0 !important;
}

main .sutra.shloka-collection{
    margin-top:27px;
}

main .sutra.shloka-collection  .shloka-content {
    text-align:center;
    margin:0 !important;
    font-style: italic;
    color: #be100e;
    font-size: 18px;
   line-height: 32px;
}

/*  Brahmasutra -  Nayavivarana  */

main .nyaya-collection {
    margin-left: 60px;
    margin-top: 25px;
    padding: 0 15px;
}

main .nyaya  .nyaya-content {
    font-size: 18px;
   line-height: 32px;
   color: #555;
   font-weight:400;
}

/* Brahmasutra - Anubhashya */

main .shloka-collection{
    margin-top:25px;
}

main .shloka-collection  .shloka-content {
    text-align:center;
    margin:0 !important;
    font-style: italic;
    color: #be100e;
    font-size: 18px;
   line-height: 32px;
}

/* Gita Bhashya , Gita Tatparya */
main .shloka-collection  .shloka-bhashya , main .shloka-collection  .shloka-tatparya {
    text-align:center;
    margin:0 !important;
    font-style: italic;
    color: #be100e;
    font-size: 18px;
    line-height: 32px;
}

/* Bhagavata Tatparya Nirnaya */

main .skandha-heading {
    padding-top: 20px;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 48px;
    color: #f57c00;
    width: 75%;
    font-weight: 500;
    border-bottom: 2px dotted #f57c00;
}

main .bg-shloka-collection, main .bg-gadya-collection{
    margin-top:25px;
}

main .bg-shloka .tp-shloka,
main .bg-gadya .tp-gadya{
    text-align:center;
    margin:0 !important;
    font-style: italic;
    color: #be100e;
    font-size: 18px;
    line-height: 32px;
}

/* Rig Bhashya , Mahabarata Tatparya Nirnaya , Yamaka barata */

main .mantra-collection, main .mahabarata-tatparya.shloka-collection, main .yamaka-barata.shloka-collection{
    margin-top:25px;
}

main .mantra-collection .bhashya, main .mahabarata-tatparya.shloka-collection .shloka{
    text-align:center;
    margin:0 !important;
    font-style: italic;
    color: #be100e;
    font-size: 18px;
    line-height: 32px;
}

main .mahabarata-tatparya.shloka-collection .shloka,main .yamaka-barata.shloka-collection .shloka{
    padding:0 !important;
}

/* Kandukastuti , Narasimha-Nakhastuti , Dwadasha Stotra */

main .kandukastuti.shloka-collection,main .narasimha-nakhastuti.shloka-collection,main .dwadasha-stotra.shloka-collection{
    margin-top:20px;
}

main .kandukastuti.shloka-collection .shloka,main .narasimha-nakhastuti.shloka-collection .shloka,main .dwadasha-stotra.shloka-collection .shloka{
    text-align:center;
    margin:0 !important;
    font-style: italic;
    color: #be100e;
    font-size: 18px;
    line-height: 32px;
    padding:0 !important;
}

/* Sadachara Smriti , Krishnamrutamaharnava , Jayantikalpa , Yatipranavakalpa , Tantrasara-Sangraha */

main .sadachara-smriti.shloka-collection, main .krishnamrutamaharnava.shloka-collection, main .jayantikalpa.shloka-collection, main .yatipranavakalpa.shloka-collection, main .tantrasara-sangraha.shloka-collection {
     margin-top:25px;
}

main .sadachara-smriti.shloka-collection .shloka, main .krishnamrutamaharnava.shloka-collection .shloka, main .jayantikalpa.shloka-collection .shloka, main .yatipranavakalpa.shloka-collection .shloka, main .tantrasara-sangraha.shloka-collection .shloka {
    text-align:center;
    margin:0 !important;
    font-style: italic;
    color: #be100e;
    font-size: 18px;
    line-height: 32px;
    padding:0 !important;
}

/* Tattva-Sankhyana , Tattva-Viveka , Pramanalakshana , Kathalakshana , Mayavada Khandana , Prapanchamithyatvanumana Khandana , Upadhi Khandana , Tattvodyota , Karmanirnaya , Vishnutattvavinirnaya */

 main .tattva-sankhyana.shloka-collection,
 main .tattva-viveka.shloka-collection ,
 main .pramanalakshana.shloka-collection,
 main .pramanalakshana.gadya-collection,
  main .kathalakshana.shloka-collection,
  main .mayavada-khandana.gadya-collection,
  main .mayavada-khandana.shloka-collection,
   main .prapanchamithyatvanumana.gadya-collection,
  main .prapanchamithyatvanumana.shloka-collection,
  main .upadhi-khandana.shloka-collection,
   main .tattvodyota.gadya-collection,
  main .tattvodyota.shloka-collection,
   main .karmanirnaya.gadya-collection,
  main .karmanirnaya.shloka-collection,
  main .mantra-shloka .m-vyakhya-collection,
  main .mantra-gadya .m-vyakhya-collection ,
  main .vishnutattvavinirnaya.gadya-collection,
 main .vishnutattvavinirnaya.padya-collection
 {
    margin-top:25px;
}

main .tattva-sankhyana.shloka-collection .shloka,
main .tattva-viveka.shloka-collection .shloka,
main .pramanalakshana.shloka-collection .shloka-content,
main .pramanalakshana.gadya-collection .gadya-content,
main .kathalakshana.shloka-collection .shloka-content,
main .mayavada-khandana.gadya-collection .gadya-content,
main .mayavada-khandana.shloka-collection .shloka-content,
main .prapanchamithyatvanumana.gadya-collection .gadya-content,
main .prapanchamithyatvanumana.shloka-collection .shloka-content,
main .upadhi-khandana.shloka-collection .shloka-content,
main .tattvodyota.gadya-collection .gadya-content,
main .tattvodyota.shloka-collection .shloka-content,
main .karmanirnaya.gadya-collection .gadya-content,
main .karmanirnaya.shloka-collection .shloka-content,
main .mantra-shloka .m-vyakhya-collection .m-vyakhya-content,
main .mantra-gadya .m-vyakhya-collection .m-vyakhya-content,
 main .vishnutattvavinirnaya.gadya-collection .gadya-content,
 main .vishnutattvavinirnaya.padya-collection .padya-content
{
    text-align:center;
    margin:0 !important;
    font-style: italic;
    color: #be100e;
    font-size: 18px;
    line-height: 32px;
    padding:0 !important;
}

main .mantra-shloka-heading,
main .mantra-gadya-heading,
main .pariccheda-heading
{
    padding-top: 20px;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 48px;
    color: #f57c00;
    width: 75%;
    font-weight: 500;
     border-bottom: 2px dotted #f57c00;
}



main .verse-text{
    font-size: 23px;
    color: #c65;
    font-weight: 500;
    margin-top: 10px;
    }

main .subtitle{
    color: #c65;
    font-weight: 500;
    width: 75%;
    margin-bottom: 20px;
}

main .intro-subtitle{
   font-size: 22px;
   line-height: 32px;
   font-weight: 500;
    width: 75%;
}

main .intro-subtitle ,main .author-note{
   margin-left: 60px;
}

main .introduction p ,main .author-note p{
    font-size: 1.15rem;
    line-height: 2rem;
    margin:0;
}


main .shloka{
    margin-left: 60px;
    padding: 20px 15px;
    text-align:center
}

main .shloka p{
    font-style: italic;
    color: #be100e;
    font-size: 1.15rem;
    line-height: 2rem;
    margin:0;
}