New Master Page -Style.CSS Code with Center Align Layout

 body 
 {
  background-color:#FFFFFF;
  color:#676767;
  font-family:Verdana,Arial,sans-serif;
  font-size:8pt;
  margin:0;
  padding:0;
 }
 body #s4-bodyContainer
 {
  min-width:760px;
  background-color:#F1F0DF;
  height:100%;
 }
 body #s4-ribbonrow
 {
  min-height:43px;
  /* [ReplaceColor(themeColor:"Dark2",themeShade:"0.9")] */ background-color:#7c7258;
  overflow-y:hidden;
 }
 .ms-cui-topBar2 
 {
  border-bottom: 1px solid wheat;
  height: 43px;
 }

 .ms-siteactionsmenuhover{
 /* [ReplaceColor(themeColor:"Dark2-Lighter")] */ border-color:wheat;
 /* [RecolorImage(themeColor:"Dark2-Lightest",method:"Filling",
    includeRectangle:{x:0,y:489,width:1,height:11})] 
    background:url("/_layouts/images/bgximg.png") repeat-x -0px -489px;*/ 
 /* [ReplaceColor(themeColor:"Dark2",themeShade:"0.8")] */ background-color:#7c7258;
 }

 .ms-welcomeMenu.ms-SpLinkButtonActive{
 /* [ReplaceColor(themeColor:"Dark2-Lighter")] */ border-color:wheat;
 /* [RecolorImage(themeColor:"Dark2-Lightest",includeRectangle:{x:0,y:489,width:1,height:11})] 
     background:url("/_layouts/images/bgximg.png") repeat-x -0px -489px;*/
 /* [ReplaceColor(themeColor:"Dark2",themeShade:"0.8")] */ background-color:#7c7258;
 }

 .s4-breadcrumb-anchor:hover,.s4-breadcrumb-anchor-open,.ms-qatbutton:hover{
 /* [ReplaceColor(themeColor:"Dark2-Lighter")] */ border-color:wheat;
 /* [RecolorImage(themeColor:"Dark2-Lightest",includeRectangle:{x:0,y:489,width:1,height:11})] */ 
    background:url("/_layouts/images/bgximg.png") repeat-x -0px -489px;
 /* [ReplaceColor(themeColor:"Dark2")] */ background-color:#7c7258;
 }

 .ms-cui-tt-a:hover{
 /* [ReplaceColor(themeColor:"Dark2",themeTint:"0.8")] */ border-color:wheat;
    background:url("/_layouts/images/bgximg.png") repeat-x -0px -1000px;
    color:#fff !important;
 }

 .s4-titletext
  {
  display:none;
  }
 .s4-socialdata-notif
  {
   display:none;
  }
  .s4-title
  {
  -moz-background-clip:border;
  -moz-background-inline-policy:continuous;
  -moz-background-origin:padding;
  background:white none repeat-x scroll 0 -1013px;
  margin:0;
  min-height:64px;
  overflow-x:hidden;
  padding:0 0 0 0px;
  word-wrap:break-word;
  width:1000px;
  margin-left:auto;
  margin-right:auto;
  }

 .s4-titlelogo
 {
  padding:12px 10px 12px 0;
  text-align:left;
  vertical-align:middle;
  }
  body #s4-topheader2 
  {
   display:block;
   width:63%;
   min-width:996px;
   margin:0px auto;
   border-left:1px #aca082 solid;
   border-right:1px #aca082 solid;
   background-color:#7c7258;
  }

  .s4-toplinks .s4-tn a.selected
  {
  /* [ReplaceColor(themeColor:"Accent1-Medium")] */ border-color:wheat;
  /* [ReplaceColor(themeColor:"Accent1-Lighter")] */ border-bottom-color:wheat;
  /* [ReplaceColor(themeColor:"Accent1-Lightest")] */ border-top-color:wheat;
  /* [RecolorImage(themeColor:"Light1")] */ background:url("/_layouts/images/selbg.png") repeat-x left  top;
  /* [ReplaceColor(themeColor:"Accent1",themeTint:"0.35")] */ background-color:#F1F0DF;
  /* [ReplaceColor(themeColor:"Accent1",themeShade:"0.20")] */ color:black!important;
     padding:4px 5px;
     margin:0px 0px;
    }

  .s4-tn li.static > a:hover
   {
   /* [ReplaceColor(themeColor:"Accent1")] */ color:white;
   text-decoration:underline;
   }

   .s4-tn li.static > .menu-item
   {
   /* [ReplaceColor(themeColor:"Dark2")] */ color:white;
   white-space:nowrap;
   border:1px solid transparent;
   padding:4px 10px;
   display:inline-block;
   height:15px;
   vertical-align:middle;
   }

  body #s4-mainarea
   {
    clear:none;
    width:63%;
    min-width:996px;
    float:none;
    margin-left:auto;
    margin-right:auto;
    padding-top:36px;
    background-color:white;
    border:1px #aca082 solid;
    height:100%;
   }
  .Fmenu
   {
   font-family:Arial,Helvetica,sans-serif;
   font-size:11px;
   height:30px;
   margin-right:0;
   text-transform:uppercase;
   width:85%;
   margin-left:auto;
   margin-right:auto;
   text-align:center;
   }
   .Fmenu ul 
    {
    color:#6A72A3;
    font-size:11px;
    list-style-image:none;
    margin:0;
    padding:10px 0px 0 0;
    }
   .Fmenu ul li
    {
    font-family:Arial;
    font-size:11px !important;
    }

  .Fmenu ul li
   {
   list-style-type:none;
   }

  .Fmenu ul li
   {
   color:#6A72A3;
   display:inline;
   list-style-type:none;
   margin:0;
   padding:0;
   }
  .Fmenu ul li a
   {
  color:#6A72A3 !important;
  display:inline;
  list-style-type:none;
  margin:0;
  padding:0;
  font-size:11px !important;
  font-family:Arial !important;
   }
  body #s4-leftpanel-content
    {
    background-color:white;
    border-color:gray;
    border-style:solid;
    border-width:0 1px 0 0;
    padding:0 0 5px;
    }
  .s4-ql ul.root ul > li > a 
    {
    border-style:solid;
    color:#6A72A3;
    word-wrap:break-word;
    }
  .s4-ql ul.root > li > .menu-item, .s4-qlheader, .s4-qlheader:visited 
   {
    border-style:solid;
    color:#6A72A3;
    font-size:1.2em;
    word-wrap:break-word;
   }
  .s4-titlelogo
    {
    padding:0px 2px 0px 2px;
    text-align:left;
    vertical-align:middle;
    background-color:#E1DAC8;
    border-top:1px #aca082 solid;
    border-left:1px #aca082 solid;
    border-right:1px #aca082 solid;
    border-bottom:1px #aca082 solid;
     }
  .s4-ql ul.root > li > .menu-item, .s4-qlheader, .s4-qlheader:visited 
    {
    border-style:solid;
    color:#6A72A3;
    font-size:8pt;
    font-weight:normal;
    word-wrap:break-word;
    }
  body #s4-leftpanel
  {
   float:left;
   width:180px;
  }
  .s4-ca
   {
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
    background:#FFFFFF none repeat scroll 0 0;
    margin-left:195px;
    margin-right:0;
    min-height:324px;
   }
  .s4-specialNavLinkList
   {
    display:none;
   }
   body #s4-leftpanel-content 
   {
    background-color:white;
    border-color:gray;
    border-style:solid;
    border-width:0 1px 0 0;
    min-height:390px;
    padding:0 0 5px;
   }
  .s4-ql ul > li > a:hover, .s4-ql ul.root > li > a:hover, .s4-qlheader:hover
   {
    text-decoration:none;
    color:#e19c57;
   }
  .signinlink
   {
    color:#666 !important;
    font-family:Tahoma;
    text-decoration:none;
   }
  .ms-titlerowborder
    {
     border-right:0 solid #B8BABD;
    }
   .flashdiv
   {
    width:999px;
    margin-left:auto;
    margin-right:auto;
    }
    .s4-recentchanges
    {
     border-bottom:1px solid #DBDDDE;
     display:none;
     margin-bottom:10px;
     padding:5px 0 10px;
    }
   .ms-rteTable-default, .ms-rteTableHeaderFirstCol-default, .ms-rteTableHeaderLastCol-default,  
   .ms-rteTableHeaderOddCol-default, .ms-rteTableHeaderEvenCol-default, .ms-rteTableFirstCol-default,  
   .ms-rteTableLastCol-default, .ms-rteTableOddCol-default, .ms-rteTableEvenCol-default,
   .ms-rteTableFooterFirstCol- default,.ms-rteTableFooterLastCol-default,
   .ms-rteTableFooterOddCol-default, .ms-rteTableFooterEvenCol-default,
   td.ms-rteTable-default, th.ms-rteTable-default,
   .ms-rtetablecells 
    {
     border:0px solid #C4C4C4;
     padding:2px;
     vertical-align:top;
    }
   .practice a
  {
  color:#000000 !important;
  }
  .practice a:hover
  {
   color:#d9802c  !important;
  }
  .ms-WPBody td
   {
    font-family:verdana,arial,helvetica,sans-serif;
    font-size:8pt;
   }
  .heading_text_22
   {
   color:#939598;
   font-family:verdana,arial,helvetica,sans-serif;
   font-size:8pt;
   font-size-adjust:none;
   font-style:normal;
   font-variant:normal;
   font-weight:bold;
   line-height:15px;
   text-align:justify;
   text-decoration:none;
   text-transform:uppercase;
   padding-left:16px;
   }

   .Heading_text_2
  {
   -x-system-font:none;
   color:#6A72A3;
   font-family:verdana,arial,helvetica,sans-serif;
   font-size:8pt;
   font-size-adjust:none;
   font-stretch:normal;
   font-style:normal;
   font-variant:normal;
   font-weight:bold;
   line-height:15px;
   padding-left:16px;
   padding-right:10px;
   text-align:justify;
   text-decoration:none;
   text-transform:uppercase;
   vertical-align:top;
   white-space:nowrap;
   }
   .ms-rte-layoutszone-inner
    {
     border:medium none;
     margin:0;
     overflow:hidden;
     padding:0;
     word-wrap:break-word;
    }
   .s4-ql a.selected
    {
   -moz-background-clip:border;
   -moz-background-inline-policy:continuous;
   -moz-background-origin:padding;
   background:transparent no-repeat scroll  left  top  none;
   border-color:#C6E5F8 #91CDF2 #91CDF2 !important;
   border-width:0px !important;
   color:#003759 !important;
   padding-left:9px !important;
   }
  .s4-statusbarcontainer
   {
    display:none !important;
    }
   body #pageStatusBar
 {
  border-style:solid;
  border-width:1px 0;
  display:none !important;
  font-family:verdana;
  font-size:1em;
  padding:4px 5px 5px 10px;
  }
  td.heading_text_33 
  {
   color:#000000;
   font-family:Arial,Helvetica,sans-serif;
   font-size:12px;
   font-weight:normal;
   line-height:15px;
   padding-left:16px;
   text-align:justify;
   text-decoration:none;
  }
  .headingtext
   {
   border-bottom:2px solid #6A72A3;
   }
  .ms-rtetablecells a, .ms-rtetablecells1 a
   {
    color:#003399;
   }
   .ms-rtetablecells a:hover, .ms-rtetablecells1 a:hover
   {
    color:#d9802c;
    text-decoration:none;
    }
   .emaillink a 
    {
    color:#D9802C !important;
    }
   .uemaillink a 
     {
     color:#D9802C !important;
      }
    .uemaillink a:hover
      {
      color:#848284 !important;
       }
    .dirlink a
      {
      color:#D9802C !important;
      }

Leave a comment