diff --git a/css/global.css b/css/global.css index 9c1d9b5ab..66df25606 100755 --- a/css/global.css +++ b/css/global.css @@ -638,7 +638,7 @@ TABLE { border-collapse: collapse; width:100%; } -div.datc table { +/* div.datc table { border: solid #aaa 1px; } div.datc th, .datc td { @@ -651,7 +651,7 @@ div.datc th { border-bottom: solid #aaa 1px; padding: 3px 5px; font-size:16px; -} +} */ TABLE.credits { border: solid #aaa 1px; width:85%; @@ -745,6 +745,47 @@ TD.army, div.army { } /* End of section for FAQ styling */ +/* Section for datc styling */ +.datc { + font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; + border-collapse: collapse; +} + +.datc td, .datc th { + border: 1px solid #ddd; + padding: 6px; +} + +.datc tr:nth-child(even){background-color: #f2f2f2; word-break: break-word;} +.datc tr:nth-child(odd){background-color: #ffffff; word-break: break-word;} + +.datc th { + padding-top: 12px; + padding-bottom: 12px; + text-align: left; + background-color: #009902; + color: white; + min-width:70px; +} +/* End of section for Hall of Fame styling */ + +/* Section for Developer styling */ +.developerInfo-show { + border-radius: 7px; + font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; + overflow: hidden; + background-color: #f1f1f1; + font-size: 14px; + padding: 0 0 0 10px; + margin-top:0px !important; +} + +.developerInfo-show h3 { + margin-left: 0px !important; +} +/* End of section for Developer styling */ + + /* Section for Hall of Fame styling */ .hof { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; @@ -810,6 +851,64 @@ input[type="text"].contactUs, input[type="password"].contactUs, textarea.contact } /* End of section for contactUsDirect page styling */ +/* Section for intro page */ +.introToDiplomacy { + font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; +} + +.introToDiplomacy_show { + border-radius: 7px; + font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; + overflow: hidden; + background-color: #f1f1f1; + font-size: 14px; + padding: 0 0 0 10px; + margin-top:0px !important; +} +/* End of section for intro page */ + +/* Section for settings page */ +.settings { + font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; +} + +.settings_show { + border-radius: 7px; + font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; + overflow: hidden; + background-color: #f1f1f1; + font-size: 14px; + padding: 0 0 0 10px; + margin-top:0px !important; +} + +.settings-submit { + font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; + color: #fff !important; + text-transform: uppercase; + background: #60a3bc !important; + padding: 5px; + border-radius: 50px; + display: inline-block; + border: none; +} + +.settings-submit:hover { + font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; + text-shadow: 0px 0px 6px rgba(255, 255, 255, 1); + transition: all 0.4s ease 0s; +} + +input[type="text"].settings, input[type="password"].settings, textarea.settings, select.settings { + font-size: 14px; + font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; + background-color: #ffffff !important; + border: 1px solid #c1c1c1; + color:#000000; +} +/* End of section for settings page */ + + /* Section for credits page styling */ .credits { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; @@ -1301,4 +1400,7 @@ input[id^="FinalizeButton"]{ textarea.contactUs, input[type="text"].contactUs, select.contactUs{ width: 80%; } + textarea.settings, input[type="text"].settings, input[type="password"].settings, select.settings{ + width: 80%; + } } \ No newline at end of file diff --git a/datc.php b/datc.php index fe74d5dce..e373f964a 100755 --- a/datc.php +++ b/datc.php @@ -26,7 +26,7 @@ libHTML::starthtml(l_t('DATC Tests')); -print libHTML::pageTitle(l_t('Diplomacy Adjudicator Test Cases'),l_t('The results of a set of automated tests which show the webDiplomacy\'s compliance with the official Diplomacy rules.')); +print libHTML::pageTitle(l_t('Diplomacy Adjudicator Test Cases'),l_t('The results of a set of automated tests which show webDiplomacy\'s compliance with the official Diplomacy rules.')); if ( $Misc->Maintenance ) { diff --git a/locales/English/datc.php b/locales/English/datc.php index d3cf9b1cd..b6b8015aa 100755 --- a/locales/English/datc.php +++ b/locales/English/datc.php @@ -117,20 +117,16 @@
'.$sections[$sectionID][0].' | '.$sections[$sectionID][1].' |
---|---|
'.$image.' |
'.$details.' |