Advertisement
rashayritto

Dual Character Layout

Jun 19th, 2016
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.28 KB | None | 0 0
  1. <style>
  2. @import 'https://fonts.googleapis.com/css?family=Cinzel+Decorative';
  3.  
  4. body{
  5. background-color: #FFFFFF;
  6. background-image: url('http://i.imgur.com/0VDE8U4.jpg');
  7. background-attachment:fixed;
  8. background-repeat:no-repeat;
  9. background-position: left bottom;
  10. background-size: cover;
  11. }
  12.  
  13. #leftSisterName{
  14.  position: absolute;
  15.  left: 5vw;
  16.  font-size: 8vh;
  17.  font-family: Cinzel Decorative;
  18.  color: #FFFFFF;
  19.  text-shadow: 0.5vh 0.5vh 0.5vh #000000;
  20. }
  21.  
  22. #rightSisterName{
  23.  position: absolute;
  24.  left: 55vw;
  25.  font-size: 8vh;
  26.  font-family: Cinzel Decorative;
  27.  color: #FFFFFF;
  28.  text-shadow: 0.5vh 0.5vh 0.5vh #000000;
  29. }
  30.  
  31. #leftSister{
  32.  position: absolute;
  33.  left: 5vw;
  34.  bottom: 1vh;
  35.  width: 40vw;
  36.  height: 85vh;
  37.  border: 0.3vw solid #000000;
  38.  background: rgba(0,0,0,0.6);
  39.  overflow: hidden;
  40.  color: #FFFFFF;
  41.  font-family: Times New Roman;
  42.  font-size: 2.5vh;
  43. }
  44. #leftSister img{
  45. height: 100%;
  46. }
  47.  
  48. #rightSister{
  49.  position: absolute;
  50.  right: 5vw;
  51.  bottom: 1vh;
  52.  width: 40vw;
  53.  height: 85vh;
  54.  border: 0.3vw solid #000000;
  55.  background: rgba(0,0,0,0.6);
  56.  overflow: hidden;
  57.  color: #FFFFFF;
  58.  font-family: Times New Roman;
  59.  font-size: 2.5vh;
  60. }
  61. #rightSister img{
  62. height: 100%;
  63. }
  64.  
  65. #leftSisterButtons{
  66.  z-index:2;
  67.  list-style-type: none;
  68.  margin: 0;
  69.  padding: 0;
  70.  width: 5vw;
  71.  background: rgba(0,0,0,0.6);
  72.  border: 0.3vw solid #000000;
  73.  position: absolute;
  74.  top: 13vh;
  75.  left: 46vw;
  76.  overflow: auto;
  77.  font-family: Cinzel Decorative;
  78. }
  79.  
  80. #leftSisterButtons a {
  81.  display: block;
  82.  color: #FFFFFF;
  83.  text-shadow: -0.2vw 0.2vw 0.2vw #000000;
  84.  font-size: 2vh;
  85.  padding: 1vh 0vh 1vh 0vh;
  86.  text-decoration: none;
  87. }
  88.  
  89. #leftSisterButtons a:hover{
  90.  background-color: #FFFFFF;
  91.  color:#000000;
  92.  text-shadow: -0.2vw 0.2vw 0.2vw #000000;
  93.  font-size: 2vh;
  94. }
  95.  
  96. #rightSisterButtons{
  97.  z-index:2;
  98.  list-style-type: none;
  99.  margin: 0;
  100.  padding: 0;
  101.  width: 5vw;
  102.  background: rgba(0,0,0,0.6);
  103.  border: 0.3vw solid #000000;
  104.  position: absolute;
  105.  top: 40vh;
  106.  left: 48.5vw;
  107.  overflow: auto;
  108.  font-family: Cinzel Decorative;
  109. }
  110.  
  111. #rightSisterButtons a {
  112.  display: block;
  113.  color: #FFFFFF;
  114.  text-shadow: -0.2vw 0.2vw 0.2vw #000000;
  115.  font-size: 2vh;
  116.  padding: 1vh 0vh 1vh 0vh;
  117.  text-decoration: none;
  118. }
  119.  
  120. #rightSisterButtons a:hover{
  121.  background-color: #FFFFFF;
  122.  color:#000000;
  123.  text-shadow: -0.2vw 0.2vw 0.2vw #000000;
  124.  font-size: 2vh;
  125. }
  126.  
  127. #credit{
  128.  position: absolute;
  129.  right: 0.5vh;
  130.  top: 0.5vh;
  131.  color: #FFFFFF;
  132.  font-size: 1.5vh;
  133.  text-shadow: -0.2vw 0.2vw 0.2vw #000000;
  134.  font-family: Cinzel Decorative;
  135.  background: rgba(0,0,0,0.6);
  136.  border: 0.3vw solid #000000;
  137. }
  138.  
  139. a{
  140.  text-decoration: none;
  141.  color: #FFFFFF;
  142. }
  143. a:hover{
  144.  color: yellow;
  145. }
  146. </style>
  147.  
  148. <div id="credit">
  149. Code by Aishurel<br>
  150. <a href="http://pastebin.com/khvm8x8g" target="new">Please Steal!</a>
  151. </div>
  152.  
  153. <div id="leftSisterName">
  154. Left Name
  155. </div>
  156.  
  157. <div id="rightSisterName">
  158. Right Name
  159. </div>
  160.  
  161. <div id="leftSisterButtons">
  162. <center>
  163. <a href="#imageLeft"><b>Image</b></a>
  164. <a href="#bioLeft"><b>Bio</b></a>
  165. <a href="#moreLeft"><b>More</b></a>
  166. </center>
  167. </div>
  168.  
  169. <div id="rightSisterButtons">
  170. <center>
  171. <a href="#imageRight"><b>Image</b></a>
  172. <a href="#bioRight"><b>Bio</b></a>
  173. <a href="#moreRight"><b>More</b></a>
  174. </center>
  175. </div>
  176.  
  177. <div id="leftSister">
  178. <div style="height: 100%; overflow-y: hidden;">
  179.  
  180. <a name="imageLeft"></a>
  181. <div style="width:100%; height: 100%; top: 100px; overflow: auto;" align="center">
  182. <img src="http://i64.tinypic.com/2zhhb8n.jpg">
  183. </div>
  184.  
  185. <a name="bioLeft"></a>
  186. <div style="width:100%; height: 100%; top: 100px; overflow: auto;" align="center">
  187. Stuff here
  188. </div>
  189.  
  190. <a name="moreLeft"></a>
  191. <div style="width:100%; height: 100%; top: 100px; overflow: auto;" align="center">
  192. More Stuff Here
  193. </div>
  194.  
  195. </div>
  196. </div>
  197.  
  198. <div id="rightSister">
  199. <div style="height: 100%; overflow-y: hidden;">
  200.  
  201. <a name="imageRight"></a>
  202. <div style="width:100%; height: 100%; top: 100px; overflow: auto;" align="center">
  203. <img src="http://i67.tinypic.com/33kyp88.jpg">
  204. </div>
  205.  
  206. <a name="bioRight"></a>
  207. <div style="width:100%; height: 100%; top: 100px; overflow: auto;" align="center">
  208. Stuff here
  209. </div>
  210.  
  211. <a name="moreRight"></a>
  212. <div style="width:100%; height: 100%; top: 100px; overflow: auto;" align="center">
  213. More Stuff Here
  214. </div>
  215.  
  216. </div>
  217. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement