The file swstyles.css contains all the css style definitions used by the samswhois.inc.php script to display the whois lookup form and results.
Editing these styles is the simplest way to change the look of the script’s output. Each style definition is the file is preceeded by a short description of what it is used for.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
/* <div> around all html output by the script */ .swPositioner{ text-align: center; width: 100%; } /* <div> around the whois lookup form */ .swForm{ text-align: center; } /* <div> heading above the whois form */ .swHeading{ font-weight: bold; text-align: center; margin-bottom: 10px; } /* <input> for entering the domain in */ .swDomain{ width: 100px; text-align: right; } /* <select> listing tlds */ .swTld{ } /* <input type="submit"> lookup form submit button */ .swSubmit{ border: 1px solid black; background-color: #6699cc; } /* security code <img> tag */ .swSecureImage{ border: 1px solid black; } /* <input> for entering the security code */ .swSecureCode{ width: 60px; } /* <div> containing instructions, etc */ .swInfo{ font-size: 10px; color: #aaaaaa; padding: 5px; text-align: center; } /* <div> containing all whois lookup results */ .swResults{ text-align: center; } /* <div> containing the domain status message (available, registered) */ .swStatus{ border-top: 2px dotted #cccccc; padding: 5px; text-align: center; width: 500px; } /* <div> containing details of the whois server used for the lookup */ .swServer{ border-top: 2px dotted #cccccc; text-align: center; padding: 10px; color: #aaaaaa; } /* <div containing the data from the whois lookup */ .swData{ padding: 4px; color: #666666; } /* style for <span> around lines in the output to hilight. */ .swHilight{ font-weight: bold; background-color: #ddddff; } /* <div> used to display error messages */ .swError{ font-weight: bold; color: red; } |